Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old January 27th, 2006, 07:55 PM
Rémi Bastide
Guest
 
Posts: n/a
Default JPSPAN problem with non-ascii characters

I'm running into troubles when I return non-ascii characters from a
JPSPAN-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

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles