AJAX: problem with some characters

Get help using Construct 2

Post » Sun Nov 30, 2014 9:37 pm

Hi, I'm trying to recover text with strings using AJAX from a txt and i have problems with some characters:

http://i.imgur.com/IMq4eXv.png

In the first part, i'm using AJAX, and in the second part i write the text directly, here you can see the code:

http://i.imgur.com/BFl9y62.png


As you can see, in the AJAX part the special characters have an error. Someone have this problem before? How can i fix it?

thanks in advance.
B
32
S
7
G
2
Posts: 164
Reputation: 3,774

Post » Sun Nov 30, 2014 9:47 pm

Sorry but i didn't find the solution the first time i searched:

viewtopic.php?f=147&t=119009&p=853666&hilit=text+problem+ajax#p853666

You must save the txt as "unicode"
B
32
S
7
G
2
Posts: 164
Reputation: 3,774


Return to How do I....?

Who is online

Users browsing this forum: t redeemed t and 8 guests