Re: hex to *char conversion in latin2

From: Ariane van der Steldt (ariane_at_xaron.stack.nl)
Date: 08/05/04


Date: Thu, 5 Aug 2004 10:14:39 +0000 (UTC)

In article <cesqu6$405$1@news.lublin.pl>, d. wrote:
> I'm quite new in c programming. I'd like to convert string coded in any
> language into Latin2. I thought that I do two things: first I convert
> string to hex and then hex to latin2. But I have a problem with the second.
> can anyone suggest how to do it?

I don't see how converting to hex is going to help you.

> or maybe there is better way to do so?
> thanks a lot

C does not define character conversion. On unix, you may wish to check
iconv.

Ariane

-- 
  We remember the song,
  But not the hand that wrote it.
      Nightwish -- Dead Boys Poem


Relevant Pages

  • hex to *char conversion in latin2
    ... I'm quite new in c programming. ... language into Latin2. ... string to hex and then hex to latin2. ...
    (comp.lang.c)
  • Re: Something fun to try..
    ... cuts it down to 2 lines and unless you can do Hex to ... decimal to character conversion in your head there is no way to get it out ... Matt ...
    (microsoft.public.vb.general.discussion)