phone: 415 555 562

email: you@gmail.com

utf8

PHP multibyte character dumbness

  • posted by hrrkii
  • posted on April 22nd 2009
  • 0 comments

I got bit this week by something that I have somehow managed to avoid via complete dumb luck up till now.  It’s the fact that PHP is retarded when it comes to handling UTF-8 strings.
I couldn’t figure out why a string kept coming out with gibberish on the end.  The app was truncating the string [...]