Commit df1d9c2
committed
Set encoding of
A byte sequence of a string given by JS is encoded in UTF-8, so we want
to be encoded in UTF-8 even in Ruby.JS::Object#to_s result string to UTF-81 parent f4958c5 commit df1d9c2
File tree
2 files changed
+6
-1
lines changed- ext/js
- packages/npm-packages/ruby-wasm-wasi/test/unit
2 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
344 | | - | |
| 344 | + | |
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
| |||
0 commit comments