[FFmpeg-devel] file protocol with Unicode support
nicolas.george at normalesup.org
Wed Apr 13 14:13:02 CEST 2011
Le quartidi 24 germinal, an CCXIX, David Woodhouse a écrit :
> Well, the information about the encoding does need to be preserved, and
> passed around *with* the string.
> Otherwise it just gets lost, and by the time the string needs to be
> rendered, the encoding is unknown.
You are perfectly right to correct me. There was an implicit hypothesis in
my statement: that all strings that the program deals with are in the same
encoding, and all peers for input and output agree with this.
If the program deals with text coming from foreign sources, it must handle
the encoding (either keeping it as ancillary data or converting to a common
Fortunately, this hypothesis is true for filenames in ffmpeg (while it is
not, for example, for metadata).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel