Ticket UUID: | 524663 | |||
Title: | Change output encoding escapes for iso2022 | |||
Type: | Bug | Version: | obsolete: 8.3.4 | |
Submitter: | hobbs | Created on: | 2002-03-02 03:23:47 | |
Subsystem: | 44. UTF-8 Strings | Assigned To: | hobbs | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2002-03-02 10:40:07 | |
Resolution: | Duplicate | Closed By: | hobbs | |
Closed on: | 2002-03-02 03:40:07 | |||
Description: |
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. | |||
User Comments: |
hobbs added on 2002-03-02 10:40:07:
Logged In: YES user_id=72656 This info is really a dup of patch 474358 https://sourceforge.net/tracker/index.php? func=detail&aid=474358&group_id=10894&atid=310894 hobbs added on 2002-03-02 10:23:47: File Added - 18690: encoding.patch |
Attachments:
- encoding.patch [download] added by hobbs on 2002-03-02 10:23:47. [details]