Hi,

Why does TEncoding.ANSI.IsSingleByte return False (and so does
TEncoding.GetEncoding(1252).IsSingleByte and for codepage 437 and
850)?

According to 
http://docwiki.embarcadero.com/Libraries/Rio/en/System.SysUtils.TEncoding.IsSingleByte
:
"TEncoding.IsSingleByte specifies whether the current encoding is of
single-byte format."

It references 
https://docs.microsoft.com/en-us/dotnet/api/system.text.encoding.issinglebyte
This states that for codepage 1252 this should be True
On my Windows machine TEncoding.ANSI.CodePage = 1252.

-- 
Bart
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to