Re: UTF-8 on stdout?



On Sat, 6 Jul 2002, Tino Schwarze wrote:
Hi Andrew,

On Sat, Jul 06, 2002 at 07:57:14PM +0100, Andrew Ferrier wrote:

Quick question: does anyone know how to print UTF-8 correctly
on stdout? Specifically, the problem I'm having is correcting a
bug in --credits where the UTF-8 encoding of some accents is
not displaying correctly (e.g. Chepelov). See apx. line 328 of
app_procs.c to see what I mean, or just run dia --credits. I
want to retain this UTF-8 encoding because the same data is
also used in the about box etc.

I think there should be two command line switches: --credits and
--credits-utf8. The first outputs in whatever charset the locale
suggests while the second is used to generate AUTHORS.

Isn't there a locale that uses UTF-8 that could be used to generate AUTHORS?

-Lars

-- 
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| Hårdgrim of Numenor
"I do not agree with a word that you say, but I   |----------------------------
will defend to the death your right to say it."   | Where are we going, and
    --Evelyn Beatrice Hall paraphrasing Voltaire  | what's with the handbasket?



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