Overview
| Artifact ID: | f0444edf20711b16a2c87e9809fb5634be63f41b5c503c2e8685e80eb584486f |
|---|---|
| Ticket: | 9bad909c6ed4691bcad1886d710a923791a524a2
jis0208 encoding fails for ASCII input |
| User & Date: | apnadkarni on 2021-06-12 06:18:05 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
Question for someone well versed in encodings - is the following not supposed to work? % set x "abc\u543e" abc吾 % encoding convertfrom jis0208 [encoding convertto jis0208 $x] ???吾 Or % string equal \u543e [encoding convertfrom jis0208 [encoding convertto jis0208 \u543e]] 1 (as expected) % string equal a [encoding convertfrom jis0208 [encoding convertto jis0208 a]] 0 (broken) % binary encode hex [encoding convertto jis0208 a] 2129 That does not seem correct. At least as per http://x0213.org/codetable/jisx0213-2004-8bit-std.txt Also tried with some older versions - 8.5.17 and 8.6.3 fail in similar fashion.
- foundin changed to: "8.6.11"
- is_private changed to: "0"
- login: "apnadkarni"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "apnadkarni"
- subsystem changed to: "11. Conversions from String"
- title changed to: "jis0208 encoding fails for ASCII input"
- type changed to: "Bug"