shift-jis
How can I convert Shift_JIS character codes to unicode characters in python?
I have a list of Shift_JIS character codes (in integers) that I want to convert into unicode charact开发者_JAVA技巧ers. I think I need a version of the chr()/unichr() function that works in other enco[详细]
2023-03-28 21:51 分类:问答decoding shift-jis: "illegal multibyte sequence"
I\'m trying to decode a shift-jis encoded string, like this: string.decode(\'shift-jis\').encode(\'utf-8\')[详细]
2023-03-21 12:14 分类:问答Using XOR on Shift-JIS characters in Java
So I\'m trying to write a little decryption program but I\'m running into a little trouble. I\'m applying XOR to the characters with \'FF\' (reversing all the bits) and I\'m doing that by converting t[详细]
2023-03-07 12:04 分类:问答Pyparsing - parse jascii text from mixed jascii/ascii text file?
I have a text file 开发者_运维技巧with mixed jascii/shift-jis and ascii text. I\'m using pyparsing and am unable to tokenize such strings.[详细]
2023-03-02 15:51 分类:问答shift jis decoding/encoding in perl
When I try decode a shift-jis encoded string and encode it back, some of the characters get garbled:[详细]
2023-02-21 19:23 分类:问答Space-saving character encoding for japanese?
In my opinion a common problem: character encoding in combination with a bitmap-font. Most multi-language encodings have an huge space between different character types and even a lot of unused code p[详细]
2023-01-31 22:57 分类:问答Retrieving a specified glyph from freetype (SHIFT JIS encoded)?
Until now I used a texture (bitmapfont) for font rendering, but I\'m trying to get freetype2 working. All my strings are SHIFT_JIS encoded and my only Problem is now to get from freetype the right gly[详细]
2023-01-29 09:34 分类:问答How to detect the character encoding of a file?
Our application receives files from our users, and those files must be validated if they are of the encoding type that we support (i.e. UTF-8, Shift-JIS, EUC-JP), and once that file is validated, we w[详细]
2023-01-15 08:53 分类:问答Using SHIFT_JIS text in PHP
I am building a form that needs to accept characters encoded in SHIFT_JIS and开发者_如何学JAVA then send those results via email to a recipient. I\'ve tried to simply capture the results from the $_PO[详细]
2023-01-01 08:45 分类:问答how to open a URL with non utf-8 arguments
Using Pyth开发者_运维问答on I need to transfer non utf-8 encoded data (specifically shift-jis) to a URL via the query string.[详细]
2022-12-10 18:59 分类:问答