Questions tagged [gb2312]

GB 2312 (now GB/T 2312-1980) is a character set for Chinese characters, normally encoded as EUC-CN. Officially superseded by GBK and GB18030 (which include additional characters), it remains in widespread use.

53 questions
0
votes
1 answer

delete svn folder (encode error),looks like unicode error

My svn server is Visual SVNServer, two year's ago ,I commit a code to svn, the folder's name contains chinese, when I list folder by svn command,it shows ?\197?\250?\193?\191?\199?\169?\195?\251/ I can't enter this folder . so I want delete it. I…
chenybin
  • 1
  • 4
0
votes
1 answer

How to get the GB2312 CODE from the input Chinese Character in Java

1) http://php.weather.sina.com.cn/search.php?city=%B1%B1%BE%A9&dpc=1 2) http://php.weather.sina.com.cn/search.php?city=%C9%CF%BA%A3&dpc=1 There is little difference in the two URLs above:%B1%B1%BE%A9 VS. %C9%CF%BA%A3, actually, it was B1B1BEA9 &…
rocky
  • 5
  • 4
0
votes
1 answer

Translate UTF-8 to GB2312

One of my app has links to Chinese websites. These websites use the GB2312 encoding. Unfortunately the .Net framework on WP7 does not support the GB2312 encoding, so the following function does not work. private string ToGB2312(string character) { …
Clément
  • 12,299
  • 15
  • 75
  • 115
0
votes
1 answer

Simplifies Chines(GB2312) character issue- Solaris Weblogic 10.3

i am trying to fetch and update simplified chinese character(GB2312) from database , Update part is works fine in weblogic 10.3 windows machine , but it fails(junk character) in weblogic 10.3 Solaris machine , but Fetching and displaying chines…
Arun
  • 1,167
  • 18
  • 37
0
votes
1 answer

charset encoding issue - Base64 to GB2312 to Base64

i am trying to display and update simplified chines(GB2312) charset using base64 , Base64 to GB2312 is working fine but i am not able convert GB2312 to base64 String str="17DP5Mqxx+vFxNXV"; Base64 base64=new Base64(); String gb2312=new…
Arun
  • 1,167
  • 18
  • 37
-1
votes
1 answer

What is this text: =B0=A1=C1=CB ... and how to convert it to normal text?

I have found some text in this form: =B0=A1=C1=CB,=C4=E3=D2=B2=C3=BB=C1=AA=CF=B5=CE=D2,=D7=EE=BD=FC=CA=C7=B2=BB=CA=C7= =BA=DC=C3=A6=B0=A1 containing mostly sequences consisting of an equal sign followed by two hexadecimal digits. I am told it could…
Siwei
  • 19,858
  • 7
  • 75
  • 95
-1
votes
1 answer

Why ISO 2022 defined 94- and 96-?

I have some doubts about the standard ISO 2022: What's the difference between using 94-(0x21 - 0xFE) and using 96-(0x20 - 0xFF)? Why, for example in EUC-CN, code in CS1 only use limited area (94- 96-)? Why doesn't it occupy the all? For…
Jason Peng
  • 408
  • 4
  • 15
-1
votes
3 answers

why can't I save my file as utf-8 format

I want to save a string to a new txt file. The encoding of the string is 'utf-8'(I think so) and it contains some Chinese character But the file's is GB2312 here is my code,I omit some: # -*- coding:utf-8 -*- # Python 3.4 window 7 def getUrl(self,…
ZuoTao.Chou
  • 49
  • 1
  • 9
1 2 3
4