Re: New invalid UTF-8 proposal using tags and %nn
William Spitzak <[email protected]>
| Newsgroups | gmane.text.yaml.general |
|---|---|
| Message-ID | <[email protected]> |
This is not acceptable, because you are proposing that all non-ASCII be written as 2 or 3 %nn sequences, thus making it unreadable. The result of this is that users will treat the data as being ASCII, or if they have a code table, as being ISO-8859-1 or CP1252. I absolutely require that a valid UTF-8 character be represented by the matching Unicode character in the file. Gabriel de Perthuis wrote: > A that encodes arbitrary, data in yaml files by escaping the bytes > that would break yaml structure (utf-8 and separators) with > percent-encoding should be called something like urlencode or > percent-encode. > > While it is most convenient (by being readable in the serialized form) > when the data is mostly utf-8, I don't think there should be a > requirement that language represent this as character strings. These > are arbitrary byte strings, and it should be the library user's choice > and responsibility to customize its loader to transform the byte > string into an invalid character string. The only way this tag needs > to relate with utf8, is to know what bytes are invalid utf8 and > invalid yaml. > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Yaml-core mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/yaml-core ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july