Jürgen Hestermann schrieb:
Hans-Peter Diettrich schrieb:
I just wonder why special UTF8 functions are required at all. From the user VP the use of UTF-8 arguments should not deserve different procedures, overloaded procedures should be sufficient if ever required.

I don't think so. It just opens a can of worms. The user will believe that there is no need to pay attention to encoding, the compiler will do it all for him.

This care only applies to non-Unicode strings, that's why I suggested an Encoding flag for just these files. Conversion into UTF-8 or Widestring is lossless, any other conversion should require an explicit encoding.

DoDi


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to