utf-16
Convert UTF-16 text to another encoding (Windows-1250)
I have a text in a variable, text, encoded in the default (UTF-16) encoding. I would like to change it to Windows-1250. I have:[详细]
2023-03-31 06:06 分类:问答UTF-16 support in GWT/GXT application
I have an GWT/GXT application running on UTF-8 encoding.We would like it to support UTF-16.That is, we would like the UTF-16 encoded characters copy-pasted from word/other sources to be safely propaga[详细]
2023-03-30 17:38 分类:问答Call iconv from Ruby 1.8.7 through system to convert a file from utf-16 to utf-8
Here\'s what I got: path_js = \'path/to/a/js/file.js\' path_new_js = \'path/where/the/converted/file/should/go.js\'[详细]
2023-03-29 01:58 分类:问答Reading a UTF-16 file into core data
I have a csv file that is utf-16 containing Tamil characters and displays fine as I view it.I read it into my iphone/ipad program and creates a core data database from it.The problem I have is that th[详细]
2023-03-27 12:09 分类:问答How to get a reliable unicode character count in Python?
Google App Engine uses Python 2.5.2, apparently with UCS4 enabled. But the GAE datastore uses UTF-8 internally. So if you store u\'\\ud834\\udd0c\' (length 2) to the datastore, whe开发者_Go百科n you r[详细]
2023-03-25 17:26 分类:问答How can I convert a UTF-16 encoded string to an encoding suitable for a Mac OS X filename?
I have a Localized.strings (UTF-16) file that contains some strings that I use to gen开发者_运维知识库erate filenames for.I open the file in python with codecs.open(\"Localized.strings\", \"r\", \"utf[详细]
2023-03-25 07:47 分类:问答grep unicode 16 support
I use TextEdit on macosx created two files, same contents with different encodings, the开发者_运维百科n[详细]
2023-03-24 13:44 分类:问答java.nio.charset.MalformedInputException when reading a stream
I use the following code to read data. It throws java.nio.charset.MalformedInputException. The file I can open normally, but it does include non-ascii chars. Anyway I can fix this problem?[详细]
2023-03-24 05:12 分类:问答javascript and string manipulation w/ utf-16 surrogate pairs
I\'m working on a twitter app and just stumbled into the world of utf-8(16). It seems the majority of javascript string functions are as blind to surrogate pairs as I was. I\'ve got to recode some stu[详细]
2023-03-23 20:39 分类:问答adding backslash to fix character encoding in ruby string
I\'m sure this is very easy but I\'m getting tied in a knot with all these backslashes. I have some data that I\'m scraping (politely) from a website. Occasionally a sentence comes to me looking some[详细]
2023-03-23 06:36 分类:问答