Re: [gnome-db] Does libgda use UTF8?
- From: Rodrigo Moya <rodrigo gnome-db org>
- To: Murray Cumming <murrayc murrayc com>
- Cc: gnome-db-list <gnome-db-list gnome org>
- Subject: Re: [gnome-db] Does libgda use UTF8?
- Date: Mon, 31 May 2004 01:32:32 +0200
On Mon, 2004-05-31 at 00:01 +0200, Murray Cumming wrote:
> I guess that not every gchar* in libgda is UTF8. And I guess that they
> are not all ASCII either. So the encoding should probably be noted in
> the documentation. For instance, for table names, field names, string
> values, etc.
>
> Maybe it depends sometimes on the underlying encodings used by the
> database providers. But I think libgda should probably present only one
> encoding in the API, much like libxml uses UTF8 in its API regardless of
> the encoding of the document that it's parsing.
>
most providers use UTF8 for the strings returned to the clients. If
there is some case where that does not happen, it's a bug.
So, yeah, we should be using UTF8 for all strings.
cheers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]