[vlc-devel] [PATCH] Deinterlacer: X²
juha.jeronen at jyu.fi
Wed May 4 12:23:49 CEST 2011
On 05/04/2011 10:21 AM, Rémi Denis-Courmont wrote:
> On Tuesday 03 May 2011, Juha Jeronen wrote:
>> Filter renamed to X² as discussed. Updated patch attached.
> AFAIK, gettext does not allow non-ASCII characters in input strings.
It's not localized (just like "X" isn't either), so this particular
issue should not arise.
But I agree that having non-ASCII characters in the source files is not
ideal. It's extended ASCII #253, but in practice "echo ² | hexdump -C"
gives me 0xc2 (in UTF-8). Because the symbol has different codepoints in
different charsets, this may cause it to render incorrectly at some point.
Any suggestions? Make it N_("X2") in the code, and put an xgettext note
to the translators saying that please render this as "X²"?
More information about the vlc-devel