Closed eefriedman closed 9 years ago
Have you tried using report->ucmessage?
Just tried it... it contains the exact same Latin1 string inflated to u16.
Hmm I expected it to be the other way around. For example, in http://mxr.mozilla.org/mozilla-central/source/js/src/jscntxt.cpp#650 , ucmessage is the original string before truncation to latin1.
Added commit to use ucmessage. You can test for yourself if you want.
Oops; not sure how I forgot it was in the standard library. Updated.
@michaelwu Ping.
@bors-servo r+
Nothing is happening here; do I need to file a bug against saltfs or something?
@bors-servo: r=michaelwu I had to re-synchronize homu's queue for rust-mozjs.
:pushpin: Commit 9c4a2ba has been approved by michaelwu
:hourglass: Testing commit 9c4a2ba with merge bba1b42...
:broken_heart: Test failed - travis
The build timed out during the Spidermonkey build. The configuration probably needs to be changed somehow.
@bors-servo: retry
:hourglass: Testing commit 9c4a2ba with merge 0aae51a...
:broken_heart: Test failed - travis
Bah, we're being bitten by libc here. #211 needs to merge first.
@bors-servo: retry
:hourglass: Testing commit 9c4a2ba with merge e2458c4...
:sunny: Test successful - travis
Because the best way to convert from a 16-bit encoding to an 8-bit encoding is obviously truncation.