free pascal?
I'm a programmer who doesn't believe in the impossible, so I'd like to see free pascal recognize a 1-byte latin character.
You have already been offered several ways. Or are you talking about the conversion function? There is UTF8ToAnsi
I had a similar problem in the past to send SMS trough SIM800L on a RaspberryPi . To resolve this, I declared a new type Latin1String = type AnsiString(28591); and added the unit cp8859_1 to help in the translation from UTF8 to CP8859-1 charset
https://www.freepascal.org/~michael/docs-demo/ivory/cp8859_1/
well, if you look at this unit, will realize that its two way conversion
Обсуждают сегодня