Re: Detecting file encoding
- From: François Legendre <f legendre gmail com>
- To: Adrián Ortega <elfus0 1 gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Detecting file encoding
- Date: Wed, 11 Aug 2010 23:49:15 +0200
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]