UTF-8.exp testsuite is failed in newlib/newlib-nano
Asked by
HermanH
I have tested UTF-8.exp testsuite in newlib (also in newlib-nano) with enabling newlib-mb option. The test result was always fail because mbtowc(...) only support 1 to 4 bytes length UTF-8 decode. UTF-8.exp expect to get "*U-00200000"stdout when UTF-8.c test program pass {0xf8, 0x88, 0x80, 0x80, 0x80} strings to mbtowc(...) but always get "2.1.5 Invalid".
Did I miss any build option?
Can this test suite be passed when I enable multiple bytes support in newlib/newlib-nano?
Thank you!
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Thomas Preud'homme
- Solved:
- Last query:
- Last reply:
To post a message you must log in.