#10645 closed defect (fixed)
-encode-unicode command line switch doesn’t have any effect
Reported by: | davidaurelio | Owned by: | Richard Backhouse |
---|---|---|---|
Priority: | high | Milestone: | 1.4.1 |
Component: | ShrinkSafe | Version: | 1.4.0 |
Keywords: | shrinksafe, unicode | Cc: | |
Blocked By: | Blocking: |
Description
Using the -encode-unicode command line switch does not seem to have the effect described in the shrinksafe help.
$ java -jar shrinksafe.jar -? -escape-unicode Use Javascript \u#### notation for non-ASCII Characters. $ echo '"\u03B1 ω";' | java -jar -Dfile.encoding=UTF8 shrinksafe.jar -encode-unicode "α ω";
The expected result is “"\u03B1 \u03C9";” It does not work when using an input file, either.
Change History (5)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Component: | General → ShrinkSafe |
---|---|
Owner: | changed from anonymous to Richard Backhouse |
comment:3 Changed 11 years ago by
Milestone: | tbd → 1.4.1 |
---|
Thank you, davidaurelio. I'm sure we had a unit test for this somewhere, but I can't find it in the history.
comment:4 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Sorry, the code in the initial bug report is wrong. Corrected version: