On Fri, Mar 28, 2003 at 11:57:09AM -0800, Charles Iliya Krempeaux wrote:
Hello,
On Fri, 2003-03-28 at 06:41, Axel wrote:
hi
I m trying to open and read file which contains accentued characters
like
so
I open a file, with GIOChannel and read the strings
but what is the
Hi,
Charles Iliya Krempeaux [EMAIL PROTECTED] writes:
I don't think that GIOChannel has anything to do with the encoding
of a string in a file.
To GIOChannel, you are dealing with a file. It really doesn't
care what's in it. It's just a bunch of bytes to it.
this is only true if you set
hi
I m trying to open and read file which contains accentued characters
like éèùà
so
I open a file, with GIOChannel and read the strings
but what is the function to get the encoding ?
I didn' t found it in API
I have seen call to convert to utf8 but it needs the original encoding
from the
On Fri, 2003-03-28 at 09:41, Axel wrote:
hi
I m trying to open and read file which contains accentued characters
like
so
I open a file, with GIOChannel and read the strings
but what is the function to get the encoding ?
I didn' t found it in API
I have seen call to convert to utf8 but it
On Fri, Mar 28, 2003 at 16:18:48 +0100, Axel wrote:
But I don' t know the encodings and strings I can use with that call.
API don' t talk about them
setting encoding of io channel , then read, and then convert to utf 8
should work
but first I need to know what encoding and string to pass
Hello,
On Fri, 2003-03-28 at 06:41, Axel wrote:
hi
I m trying to open and read file which contains accentued characters
like éèùà
so
I open a file, with GIOChannel and read the strings
but what is the function to get the encoding ?
I didn' t found it in API
I have seen call to convert to
Hi,
Axel [EMAIL PROTECTED] writes:
Yes but imagine there are some people (me , by example) who have
locales set to POSIX and have though files with accentued
characters, this don' t solve problems.
as I explained to you already, you can't solve this problem
automatically. If all fails, you
Now I understand
we pass an encoding to Glib in order to read successfully a file.
The encoding avalailable are in iconv -l
I needed to understand the concept of locale/encoding and so...
It s much clear in my mind after your answers.
I will set ISO-8859-15.
Thanks all for your help, it sure helps