Re: Detecting file encoding



Hello,

You can use the function member ustring::validate() to check if the string is valid UTF-8. If true, you can guess that the encoding is pure ascii or UTF-8.

----
François


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]