Home > Software design >  Intermittent/Random Double Encoded (presents as mojibake) emojis when storing from Kotlin to MySql
Intermittent/Random Double Encoded (presents as mojibake) emojis when storing from Kotlin to MySql

Time:08-03

I have discovered that the reason I am getting weirdness with my strings being written to MySQL (5.6) from Kotlin is that, occasionally, they are being double encoded. I've verified this by printing the hex() of the column of two identical strings-- here is an example where an API returned the identical string, with the identical jdbcurl parameters, identical everything, ten minutes apart:

Great job getting your protein and fruit to help balance your blood sugar

  • Related