Re: [twsocket] HttpCli CharSet

2017-08-04 Thread {Dark_Ducke}
Utf8toAnsi(source); solve the problem, thanks! 2017-08-04 15:56 GMT-03:00 Angus Robertson - Magenta Systems Ltd < an...@magsys.co.uk>: > > Do I have to decode the html after it gets it? Can not I set the > > charset in the httpcli component? > > The component returns the a stream with the raw

Re: [twsocket] HttpCli CharSet

2017-08-04 Thread Angus Robertson - Magenta Systems Ltd
> Do I have to decode the html after it gets it? Can not I set the > charset in the httpcli component? The component returns the a stream with the raw content, maybe a file, image or HTML text. You have to search the HTML text for the charset attribute and then use various functions to convert

Re: [twsocket] HttpCli CharSet

2017-08-04 Thread {Dark_Ducke}
Do I have to decode the html after it gets it? Can not I set the charset in the httpcli component? 2017-08-04 12:08 GMT-03:00 RTT : > > https://www.w3schools.com/html/html_charset.asp > > Hello, when receiving an html through a GET, the words that have >> accentuation, are all

Re: [twsocket] HttpCli CharSet

2017-08-04 Thread RTT
https://www.w3schools.com/html/html_charset.asp Hello, when receiving an html through a GET, the words that have accentuation, are all wrong, how to set the charset to get the html correctly? Ex: I'm getting this way: *Afegão* Hound - Portal do Dog - Para quem ama cachorros! The correct

[twsocket] HttpCli CharSet

2017-08-04 Thread {Dark_Ducke}
Hello, when receiving an html through a GET, the words that have accentuation, are all wrong, how to set the charset to get the html correctly? Ex: I'm getting this way: *Afegão* Hound - Portal do Dog - Para quem ama cachorros! The correct would be: *Afegão* Hound - Portal do Dog - Para quem