Skip to content

Commit

Permalink
Fix issue MoarVM#1163
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhongnianTao authored and Kaiepi committed Sep 6, 2019
1 parent 2019435 commit ab68f40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/strings/gb2312.c
Expand Up @@ -128,7 +128,7 @@ MVMuint32 MVM_string_gb2312_decodestream(MVMThreadContext *tc, MVMDecodeStream *

if (handler_rtrn == GB2312_DECODE_FORMAT_EXCEPTION) {
MVM_exception_throw_adhoc(tc,
"Error decoding gb2312 string: invalid gb2312 format (two bytes for a gb2312 character). Last byte seen was 0x%hhX\n",
"Error decoding gb2312 string: invalid gb2312 format (two bytes for a gb2312 character). Last byte seen was 0x%x\n",
last_codepoint);
}
else if (handler_rtrn == GB2312_DECODE_CODEPOINT_EXCEPTION) {
Expand Down

0 comments on commit ab68f40

Please sign in to comment.