Bugs item #1038123, was opened at 2004-09-30 16:48
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=497982&aid=1038123&group_id=61302
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: bug in toEncodedString method ?
Initial Comment:
the original code in TestContext.java:
165 public String toEncodedString(String text) {
166 try {
167 return new String(text.getBytes(),
encodingScheme);
168 } catch (UnsupportedEncodingException e) {
169 e.printStackTrace();
170 return text;
171 }
172 }
line 167 returns a bad string if the system default
Lang = en_US, incoming string "text" contains JA
characters, and encodingScheme is set to UTF-8.
... text.getBytes(encodingScheme), ... fixes the problem.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2004-10-04 22:49
Message:
Logged In: NO
The assertTextInTable method doesn't work correctly with
multibyte characters because of this toEncodedString problem.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=497982&aid=1038123&group_id=61302
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Jwebunit-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development