You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2008/07/18 00:00:55 UTC

DO NOT REPLY [Bug 45425] New: JDBC Request does not support Unicode

https://issues.apache.org/bugzilla/show_bug.cgi?id=45425

           Summary: JDBC Request does not support Unicode
           Product: JMeter
           Version: 2.3.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: yherasym@eqo.com


My request is like:
[Prepared Select Statement] SELECT CONCAT("text=", text) AS text FROM
table_templates where name=? and lang="chi";

The "Response Data" are shown in the "View Result Three" window as:
--------------

text
text=?????????????
--------------

ER: the "?" should be Unicode characters - in my case Chinese.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 45425] JDBC Request does not support Unicode

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45425


Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |FIXED




--- Comment #3 from Sebb <se...@apache.org>  2008-10-10 17:52:29 PST ---
Sampler has been updated to always use UTF-8 for conversions:

URL: http://svn.apache.org/viewvc?rev=703617&view=rev
Log:
Bug 45425 - JDBC Request does not support Unicode

Hopefully this will solve the problem.

The fix will be in nightly builds after r703617.

Please re-open if it still does not work.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 45425] JDBC Request does not support Unicode

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45425


Yaroslav <yh...@eqo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED




--- Comment #4 from Yaroslav <yh...@eqo.com>  2008-10-14 11:54:04 PST ---
svn 703755

Verified - JDBC response is showing UNICODE in "View Result Tree"-"Response
Data" tab.

Closing


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 45425] JDBC Request does not support Unicode

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45425


Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




--- Comment #1 from Sebb <se...@apache.org>  2008-10-05 14:44:23 PST ---
This probably depends on the default encoding.

The JDBC Sampler uses the default encoding to store the string in the
SampleResult.

If this encoding does not support Chinese, then some characters will be lost
when the translation is performed.

What does the JMeter log file show for the file.encoding?


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 45425] JDBC Request does not support Unicode

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45425





--- Comment #2 from Sebb <se...@apache.org>  2008-10-05 14:48:35 PST ---
Forgot to add that the Tree View will only be able to display the Chinese
characters if the JVM font supports it.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org