| Posted by Rιmi Bastide on 06/19/19 11:38 
I'm running into troubles when I return non-ascii characters from aJPSPAN-enabled server to a javascript client, e.g. if I publish the
 following PHP class through JPSPAN:
 
 class Hello {
 function hello() {
 return 'IΓ±tΓ«rnΓ’tiΓ΄nΓ lizΓ¦tiΓΈnΒ';
 }
 }
 
 If I call the hello function from javascript on the client side and
 show the result with alert() I get a garbled string where all non-ascii
 characters do not show up.
 I assume this is a PHP side character set issue. is mbstring the way to
 go ? Have you encoutered this problem ?
 Thanks for your time
  Navigation: [Reply to this message] |