diff options
author | daurnimator <quae@daurnimator.com> | 2018-03-04 12:58:37 +1100 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2018-03-04 12:59:00 +1100 |
commit | b257a242b5b8aef9f32cddf36f595389ab59dff0 (patch) | |
tree | 8ebe64de132ff6523ad58caf9de315c40f2e6f6b /src | |
parent | 1b4551edce66763db780ad21fbbd85896e78b523 (diff) | |
download | fengari-b257a242b5b8aef9f32cddf36f595389ab59dff0.tar.gz fengari-b257a242b5b8aef9f32cddf36f595389ab59dff0.tar.bz2 fengari-b257a242b5b8aef9f32cddf36f595389ab59dff0.zip |
src/lobject.js: lua_tojsstring now uses unicode replacement character by default
Diffstat (limited to 'src')
-rw-r--r-- | src/lobject.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lobject.js b/src/lobject.js index e3b92f7..41bd702 100644 --- a/src/lobject.js +++ b/src/lobject.js @@ -267,9 +267,8 @@ class TValue { } jsstring(from, to) { - return to_jsstring(this.svalue(), from, to); + return to_jsstring(this.svalue(), from, to, true); } - } const pushobj2s = function(L, tv) { |