Python NBSP DWIM
Steven D'Aprano
steve at pearwood.info
Wed Jun 10 23:27:09 EDT 2015
On Thu, 11 Jun 2015 01:05 pm, Chris Angelico wrote:
[...]
>> Why do the subtitles contain ZWNBSP in the first place? Surely they're
>> not English subtitles?
>
> No, they're not :) The character comes up in the Cantonese and
> Japanese subs for Once Upon A December.
>
> http://youtu.be/CEpcUeWP0bg
> http://youtu.be/WFZAaHrHens
>
> Possibly some others in the series as well. It may well be a fault in
> the subtitles, but most programs I've seen don't show U+FEFF as a big
> fat box.
I think that for backwards compatibility, applications (or fonts) are
permitted to treat U+FEFF as a zero-width invisible character, so perhaps
you can raise a feature request with VLC.
--
Steven
More information about the Python-list
mailing list