Detecting file encoding
- From: Adrián Ortega <elfus0 1 gmail com>
- To: gtkmm-list gnome org
- Subject: Detecting file encoding
- Date: Wed, 11 Aug 2010 15:21:59 -0500
Hello,
I'm making a small text editor to learn as much as I can from gtkmm and I've come across with one problem which I haven't been able to solve.
The main issue is I don't know how to detect the file encoding of a given file. I've been reading a lot about this, and found that glibmm has some functions that could help me, i.e.
however, I haven't been able to detect the enconding of a file. I know these functions help me to convert from one encoding to another one, but for that I need to know the current file encoding.
Do you have any idea, suggestion or reference that could help me?
Sorry if this is not totally related with gtkmm but I think it's somewhat related to glibmm.
Thanks in advance!
Adrian.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]