Re: OFF-TOPIC: Converting latin-1 to unicode
- From: Robert Brady <robert susu org uk>
- To: Gustavo Joćo Alves Marques Carneiro <ee96090 fe up pt>
- Cc: gnome-devel-list gnome org
- Subject: Re: OFF-TOPIC: Converting latin-1 to unicode
- Date: Mon, 13 Nov 2000 18:17:15 +0000 (GMT)
On Mon, 13 Nov 2000, Robert Brady wrote:
>
> On Mon, 13 Nov 2000, [ISO-8859-1] Gustavo Joćo Alves Marques Carneiro wrote:
>
> > I need to convert a string in whatever encoding used by the system (I
> > use latin-1) to unicode. I need it to render strings with freetype -- the
> > font I'm using uses unicode encoding.
> >
> > I looked at iconv, but it seems to convert only between different
> > multibyte encodings. I also looked at libunicode, but couldn't find the
> > function I need.
>
> iconv("UTF-8", "ISO-8859-1"); ?
> iconv("UCS-2", "ISO-8859-1");
This should of course be iconv_open.
--
Robert Brady
robert suse co uk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]