openexr-devel
[Top][All Lists]
Advanced

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

[Openexr-devel] Re: Long Names for Channels and Attributes


From: James Cloos
Subject: [Openexr-devel] Re: Long Names for Channels and Attributes
Date: Wed, 27 Dec 2006 22:58:30 -0500
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.0 (gnu/linux)

>>>>> "Luc-Eric" == Luc-Eric Rousseau <address@hidden> writes:

Luc-Eric> Also, can channel names be UTF-8? And if so, could 
Luc-Eric> a japanese string contain a byte value that 
Luc-Eric> could be mistaken for a dot? 

UTF-8 ensures that no non-ASCII character can be confused for an ASCII
character.  Everthing not in 0 <= code_point < 128 has the most
significant bit set.

On that front, I hope to see UF-8 specified as the encoding for any
text in exr files, and agree that 255 *octets* is a reasonable maximum
length for channel names, but it may be a good idea to specify that
the 255 octets should hold an integer number of UTF-8-encoded characters.
Ie, truncate at a whole character, not in the middle of a multi-octet one.

-JimC
-- 
James Cloos <address@hidden>         OpenPGP: 1024D/ED7DAEA6




reply via email to

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