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