swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] swfstrings and japanese text


From: Matthias Kramm
Subject: Re: [Swftools-common] swfstrings and japanese text
Date: Fri, 30 Jun 2006 11:47:48 +0200
User-agent: Mutt/1.5.6i

On Thu, Jun 29, 2006 at 11:46:08PM +1000, Con Kolivas wrote:
> Ok I've gone one better and got it working. Obviously the code style and way
> you choose to implement this is entirely up to you but this patch produces
> the output I desire. 

Thanks!

Am I understanding correctly that

  #include <locale.h>
  (void)setlocale(LC_ALL,"");

and then

  printf("%lc", code);

causes the printf to write out UTF8 code? 
Nifty.

I'll probably change it to an own UTF8-output-implementation though, as I'm
unsure about the cross-platform reliability of <locale.h>.
Still, nice patch.

Greetings

Matthias






reply via email to

[Prev in Thread] Current Thread [Next in Thread]