- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It seems that ippsConvertUTF_8u16u returns wrong result when isBE flag is set to true.
__declspec(align(32)) const Ipp8u src[] = "\\xEF\\xBB\\xBF\\xE3\\x83\\x86\\xE3\\x82\\xB9\\xE3\\x83\\x88";
__declspec(align(32)) Ipp16u dst[4];
Ipp32u srcLen = 12;
Ipp32u dstLen = 4;
ippsConvertUTF_8u16u(src, &srcLen, dst, &dstLen, true);
While dstLen should be { 0xFFFE, 0xC630, 0xB930, 0xC830 }, it becomes { 0xFF00, 0xC600, 0xB900, 0xC800 }.
Is there something wrong with my code here?
Here is my environment:
MSVC2010
IPP7.0
Win7 64-bit
__declspec(align(32)) const Ipp8u src[] = "\\xEF\\xBB\\xBF\\xE3\\x83\\x86\\xE3\\x82\\xB9\\xE3\\x83\\x88";
__declspec(align(32)) Ipp16u dst[4];
Ipp32u srcLen = 12;
Ipp32u dstLen = 4;
ippsConvertUTF_8u16u(src, &srcLen, dst, &dstLen, true);
While dstLen should be { 0xFFFE, 0xC630, 0xB930, 0xC830 }, it becomes { 0xFF00, 0xC600, 0xB900, 0xC800 }.
Is there something wrong with my code here?
Here is my environment:
MSVC2010
IPP7.0
Win7 64-bit
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Blono,
Thank you a lot for the report.I can reproduce the problem. There is a bug in the function. Our developer will fix it. I will notify you when the fix version is avaiable.
Thanks
Ying H.
Thank you a lot for the report.I can reproduce the problem. There is a bug in the function. Our developer will fix it. I will notify you when the fix version is avaiable.
Thanks
Ying H.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Blono,
Sorry for the delay. I reviewed some previous issue recently and found this one. It should be fixed inlatest IPP 7.0 update 6 and update 7 version. You are welcomed to try it
Thanks
Ying
Sorry for the delay. I reviewed some previous issue recently and found this one. It should be fixed inlatest IPP 7.0 update 6 and update 7 version. You are welcomed to try it
Thanks
Ying
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page