Re: Question about unicode support...
Brought to you by:
set
From: Grzegorz A. H. <gr...@te...> - 2001-09-26 22:21:00
|
On Wed, Sep 26, 2001 at 04:54:29PM -0300, salvador wrote: > Do you know about simple UTF8<->16 bits conversion routines? > Perhaps Allegro code ... Ah, you read my mind. The nice thing is that you can rip the code to avoid external dependencies. But anyway, the guys from unicode should have already cared for that, yes, you can do a search for "unicode lib" at freshmeat and pick one of the available libs.... wow, so there's a svgalib browser :-) > > Hmmm... I somehow doubt it. First, if I use the "Test RunProgram" slisp > > example and type "cat /home/gregorio/macros.slp", I see a few lines in the > > message window about running commands but nothing happens. Where's the > > output of cat? > > I must check, perhaps something is broken. Or my configuration, you know, I love playing with fire. > You shouldn't edit files that aren't really supported by your code page. Ah, but the problem is I might have to, and doing so I wouldn't like to break the work of others. > But I can do the same you say ;-), what's the exact format? \u224 == á? Its whatever you prefer. The \unumbercode is used internally by python. Well, in fact, they don't put the 'u', so the string "éás" is converted (or represented internally) like "\351\341s". I think that putting \unumber or \unicode_number is better for the human going to edit the text afterwards. Yes, you could just add an option field in the configuration to set this "magic" string and everybody would be happy. -- Grzegorz Adam Hankiewicz gr...@te... http://gradha.infierno.org |