summaryrefslogtreecommitdiff
path: root/src/jscomp.sml
diff options
context:
space:
mode:
Diffstat (limited to 'src/jscomp.sml')
-rw-r--r--src/jscomp.sml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jscomp.sml b/src/jscomp.sml
index 4b04194c..f97725eb 100644
--- a/src/jscomp.sml
+++ b/src/jscomp.sml
@@ -435,7 +435,7 @@ fun process file =
| #"\r" => "\\r"
| #"\t" => "\\t"
| ch =>
- if Char.isPrint ch then
+ if Char.isPrint ch orelse ord ch >= 128 then
String.str ch
else
"\\" ^ padWith (#"0",