Re: Assume CP1252
[email protected] (Smylers) Tue, 6 Jan 2015 09:07:26 +0000
| Newsgroups | perl.pod-people |
|---|---|
| Message-ID | <[email protected]> |
David E. Wheeler writes: > I suggest we switch from Latin-1 to CP1252. The reasons are: > > * CP1252 is effectively a superset of Latin-1. > > * Sometimes characters valid in CP1252 but not in Latin-1 appear in Pod, > > * By assuming CP1252 instead of Latin-1, such characters would be > properly decoded when parsing Pod, thus making them come out right in > the resulting outputs. Latin-1 should be unaffected. Good idea. Also, this is already what HTML specifies: on encountering an HTML document which claims to be in Latin-1, an HTML parser must treat that as an alias for CP1252. Smylers -- http://twitter.com/Smylers2