Closed honger05 closed 9 years ago
Correct. The Unicode character ³ (U+00B3) can't be encoded in GBK.
The ICU tool iconv
has the same behavior. If you have a Linux or OSX machine handy, put your data into a file (as utf-8) and then try:
iconv -f utf-8 -t gbk < file
I get e.g.
var dataString = '"????","?˵?״̬","?˵???","????????","????","?ļ??ͻ?","?ļ??˵绰","?ļ???ַ","?ռ??ͻ?","?ռ??˵绰","?ռ???ַ","?ļ?????","Ŀ?ĵ?","Ŀ??????","????(kg)","???(M
iconv: (stdin):1:182: cannot convert
Hi!, I'm a Chinese.
when I use the library like :
Uncaught TypeError: The code point 179 could not be encoded.
some words could not be encoded ?
I found that
'M³'
in the words caused,'M'
is ok, can support'M³'
?