Re: Pango, UTF-8 & Latin1



On Thu, 1 Aug 2002, Jason Maiorana wrote:

It may be sufficient for dia to only support utf-8. You generally
dont
create dia files by hand, so you probably shouldnt care which
encoding
they are in. 

We need to support non-utf8 encodings for two reasons:  Backwards
compatibility and diagrams created by other programs.  

And one more: For other programs that want to read Dia files.  

What I mean is that if dia only ever creates utf-8 files,
that that is sufficient.

And that it will.

And any encoding-translation done in
dia is misplaced: libxml should be able to translate the file
to utf-8 on read. I just dont think the encoding operations
belong separately in every app that want to use XML.
(plus its less error prone, imo)

Well, libxml2 doesn't seem to be doing it for Dia now.  I don't know what's
wrong with it.

-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]