FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » json and special chars
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
json and special chars [message #175851] Sun, 30 October 2011 23:19 Go to next message
Sarah is currently offline  Sarah
Messages: 30
Registered: December 2010
Karma: 0
Member
Hi! In my DB table I've chars like

òèìù

but when I generate json file I show

\u00e0\u00f2\u00e8\u00ec\u00f9

is it right this change in my char?

Thanks
Re: json and special chars [message #175855 is a reply to message #175851] Mon, 31 October 2011 08:31 Go to previous messageGo to next message
alvaro.NOSPAMTHANX is currently offline  alvaro.NOSPAMTHANX
Messages: 277
Registered: September 2010
Karma: 0
Senior Member
El 31/10/2011 0:19, Sarah escribió/wrote:
> Hi! In my DB table I've chars like
>
> òèìù
>
> but when I generate json file I show
>
> \u00e0\u00f2\u00e8\u00ec\u00f9
>
> is it right this change in my char?

Yes, it is.


--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://borrame.com
-- Mi web de humor satinado: http://www.demogracia.com
--
Re: json and special chars [message #175856 is a reply to message #175855] Mon, 31 October 2011 10:05 Go to previous message
Erwin Moller is currently offline  Erwin Moller
Messages: 228
Registered: September 2010
Karma: 0
Senior Member
On 10/31/2011 9:31 AM, "Álvaro G. Vicario" wrote:
> El 31/10/2011 0:19, Sarah escribió/wrote:
>> Hi! In my DB table I've chars like
>>
>> òèìù
>>
>> but when I generate json file I show
>>
>> \u00e0\u00f2\u00e8\u00ec\u00f9
>>
>> is it right this change in my char?
>
> Yes, it is.
>
>

And read this:
http://www.joelonsoftware.com/articles/Unicode.html

It is a great introduction to unicode.
From 2003(!).

Regards,
Erwin Moller



--
"That which can be asserted without evidence, can be dismissed without
evidence."
-- Christopher Hitchens
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Problem with Populating Persian(Arabic) Number in PHP
Next Topic: missing variable
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 14:46:47 GMT 2024

Total time taken to generate the page: 0.02257 seconds