What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Ajax unicode

Ajax unicode
Author: Message:
Huhu_Manix
Full Member
***

Avatar
Upload me again... *salivate*

Posts: 106
– / Male / –
Joined: Jul 2006
O.P. Ajax unicode
Hi,

When i use AJAX, the returned text contain a lot of "" ( a box ^^ ), can we get the real letter ? :'(

Thanks

code:
ajax.open("GET", url, true);
ajax.onreadystatechange = function(){
    if (ajax.readyState == 4){
        var ht = ajax.responseText;
    }
}

This post was edited on 11-21-2006 at 04:54 PM by Huhu_Manix.
11-21-2006 04:52 PM
Profile E-Mail PM Web Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Ajax unicode
If it returns as a box, doesn't it mean that the character isn't printable? (I know sometimes they show up for fonts that don't have that glyph) Could you not output the ajax and see if it still works or find out which characters it's replacing and why. If you find out why you get a lot of them it may help as you can find a way around it or a way of converting them back...
<Eljay> "Problems encountered: shit blew up" :zippy:
11-21-2006 05:10 PM
Profile PM Find Quote Report
Huhu_Manix
Full Member
***

Avatar
Upload me again... *salivate*

Posts: 106
– / Male / –
Joined: Jul 2006
O.P. RE: Ajax unicode
Problem come from "é" and "è" characters, there's no problem if I use "Debug.Trace("éééèèè");" but characters don't work with ajax.
It "fusion" the famous character with it 2 next to become a box. ( ex : "némo" become "n[]" )

I can remove all boxs but there's a lot a them in french and the text become borring to read.

I think i've found...

This post was edited on 11-21-2006 at 06:03 PM by Huhu_Manix.
11-21-2006 05:45 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On