This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 180479

Summary: NetBean 6.8 error of Chinese
Product: db Reporter: quarstar
Component: CodeAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED WONTFIX    
Severity: normal Keywords: I18N
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description quarstar 2010-02-09 04:24:57 UTC
I transfer netbean 6.01 to 6.8, meet problem of Chinese. 
it can't read Chinese from database or URL. Following are the error 
messages, which once are ok in 6.01. 

(read from MS Access DB) 

CPI FOOD??HOUSE PRICEʳƷ??۸??ס??۸? 

(read from web page) 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="content-type" content="text/html; charset=GBK" /><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /><meta name="description" content="�Ѻ�֤ȯ,�й���רҵ����Ӱ�����Ľ��� , 
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1 
at java.lang.String.substring(String.java:1931) 
at java.lang.String.substring(String.java:1904) 
...
Comment 1 Jiri Rechtacek 2010-11-05 18:58:30 UTC
Sorry, we have no plans to fix this in the near future. Patches are welcome.