D | utf_test.cpp | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 30 const std::vector<uint8_t> in {0xc0, 0x80, 0x00}; variable 33 ConvertMUtf8ToUtf16(in.data(), utf::Mutf8Size(in.data()), out.data()); 39 const std::vector<uint8_t> in {0x7f, 0x00}; variable 42 ConvertMUtf8ToUtf16(in.data(), utf::Mutf8Size(in.data()), out.data()); 48 const std::vector<uint8_t> in {0xc2, 0xa7, 0x33, 0x00}; variable 51 ConvertMUtf8ToUtf16(in.data(), utf::Mutf8Size(in.data()), out.data()); 57 const std::vector<uint8_t> in {0xef, 0xbf, 0x83, 0x33, 0x00}; variable 60 ConvertMUtf8ToUtf16(in.data(), utf::Mutf8Size(in.data()), out.data()); [all …]
|