[bug-gettext] [bug #50357] xgettext doesn't recognise encoding aliases Python supports

2017-02-20 Thread Bruno Haible
Follow-up Comment #6, bug #50357 (project gettext): > name matching is standardised in various places; for example in UTR #22 No, name matching is not standardised. Different charset conversion libraries have different ways of doing it. The UTR #22 probably describes the way ICU does it, but ICU i

[bug-gettext] [bug #50357] xgettext doesn't recognise encoding aliases Python supports

2017-02-20 Thread Bruno Haible
Follow-up Comment #5, bug #50357 (project gettext): > all Python implementations to my knowledge support the same set of encodings for Python source files But the "# coding:" marker is interpreted by different programs: not only by Python when it loads or compiles the file, but also by editors (Em