Lazarus

Programming => Operating Systems => Android => Topic started by: juank1971 on September 19, 2020, 09:03:44 pm

Title: I can't see the accents in the words jhttp response
Post by: juank1971 on September 19, 2020, 09:03:44 pm
Hi again I can't see the accents or spetials charactere in the words
On  jhttpclient response
And the crartset =utf-8 in the component.

Any idea


Title: Re: I can't see the accents in the words jhttp response
Post by: juank1971 on September 21, 2020, 03:31:48 pm
I found a solution for acents
put dis code into Unit,  bat only work in this unit
{$modeSwitch UnicodeStrings}
{$CODEPAGE UTF8}

Title: Re: I can't see the accents in the words jhttp response
Post by: nanobit on September 21, 2020, 05:27:34 pm
{$modeSwitch UnicodeStrings} is not needed (changes charsize of "string")
TinyPortal © 2005-2018