Menu

#14 bug in code2utf function

v1.0 (example)
open
nobody
None
5
2011-07-06
2011-07-06
Anonymous
No

The **code2utf** function is not translating UTF8 chars correctly.
Try This:
[{"nombre": "Asociaci\u00f3n Interamericana"}] the unicode char U+00D3 correspond to Ó (LATIN CAPITAL LETTER O WITH ACUTE), but code2utf translate the number as Ã.

I quit using funcion **code2utf**, and start using **chr** function included in delphi. I suppose this fix is only available on Unicode versions of Delphi.

Discussion


Log in to post a comment.