openexr-devel
[Top][All Lists]
Advanced

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

Re: [Openexr-devel] UNICODE support in openexr file I/O


From: Bob Friesenhahn
Subject: Re: [Openexr-devel] UNICODE support in openexr file I/O
Date: Thu, 19 Jan 2006 19:31:44 -0600 (CST)

On Thu, 19 Jan 2006, Florian Kainz wrote:

The UTF-8 strings are the Thai name for the city of Bangkok
and the German word for "twelve".

You provided excellent examples. I think that just like the way my mail program alerted me to a codepage difference, OpenEXR should provide a way for the application to specify the character set which was used (which could include UTF-8), and a way for an application to see which character set was used, so that the characters can be appropriately transcoded by the application. The main requirement is that the storage must work with simple strings.

All modern operating systems provide APIs for translating between character sets so OpenEXR's responsibility should go as far as storing the string, and the identification of its character set (which should have a default like iso-8859-1 which works for most users). If the application does not specify the character set which is used, then operation would be the same as today.

Bob


Bob Friesenhahn wrote:
This is what my mail program had to say about your email:

        [ The following text is in the "UTF-8" character set. ]
        [ Your display is set for the "iso-8859-1" character set.  ]
        [ Some characters may be displayed incorrectly. ]

So it seems that we may already have an interoperabilty problem. :-)

Bob
======================================
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/




======================================
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/




reply via email to

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