Overview
| Artifact ID: | 2bdc3ada1f841309e066501013d0c7515b0471d1 |
|---|---|
| Ticket: | 524663ffffffffffffffffffffffffffffffffff
Change output encoding escapes for iso2022 |
| User & Date: | hobbs on 2002-03-02 03:23:47 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed to:
Keiichi Takahashi (bitwalk -at- jcom.home.ne dot jp) noted that output of iso2022 strings is not satisfactory. He made the attached patch. Against the test suite, this breaks the following tests, plus a similar one in io.test: test encoding-11.5 {LoadEncodingFile: escape file} { encoding convertto iso2022 \u4e4e } "\x1b(B\x1b$@8C" test encoding-13.1 {LoadEscapeTable} { set x [encoding convertto iso2022 ab\u4e4e\u68d9g] } "\x1b(Bab\x1b$@8C\x1b$\(DD%\x1b(Bg" What is does is change the output result such that the initial \x1b(B escape for iso8859-1 doesn't start the string, but rather ends it. I'm not sure that this is correct over larger tests and multiple lines, but it may be. This needs a bit more commenting before applying. - foundin changed to: "obsolete: 8.3.4"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "hobbs"
- subsystem changed to: "44. UTF-8 Strings"
- title changed to: "Change output encoding flags for iso2022"
- type changed to: "Bug"