• Benito van der Zander's avatar
    refactor string encoding conversions: add Windows-1252 as its own encoding... · 06b91175
    Benito van der Zander authored
    refactor string encoding conversions: add Windows-1252 as its own encoding (rather than treating it as latin1). Add ASCII encoding. Rename strChangeEncoding to strConvert. Remove optimized UTF-8 <-> UTF-16/32 conversion. Set codepages on the resulting strings for fpc 3.x. Improved checking for invalid utf-8 input. Add function registerFallbackUnicodeConversion to register my functions as encoding converter in the widestring manager, so that compiler implicit encoding conversions to latin-1/1252 work without a separate widestring manager library.
    06b91175
xidelbase.pas 147 KB