0

Textbox Set value Error?

asked 2012-08-27 14:23:56 +0800

leehom gravatar image leehom
9

Hi All,
I use Eclipse 3.7.2 with ZK Studio 1.0.2.
Use DB is MS SQL 2008.
I setting a Textbox, and free key-in : 'Test for ZK' , save to DB.
Then, I get data From DB, set to TextBox.
In DB data is : 'Test for ZK', But in UI is 'Test for ZK???????...'.
I try to others DB Env. Not have this Problem, But in this env. always has Problem.

In Textbox Setting:

<textbox id="TestTb" rows="3" style="overflow:auto;" width="99%" />

In Error UI image:

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2012-09-03 03:33:55 +0800

iantsai gravatar image iantsai
2755 1

Which character set that your are using in your java env?
By the way, this is more like an encoding issue not a ZK issue, you need to check your encoding of String that you materialized from DB.

My suggestion: in Java UTF-8 is always safer.

link publish delete flag offensive edit

answered 2012-10-30 17:00:45 +0800

Steva77 gravatar image Steva77 flag of Italy
1014 3
http://www.research.softe...

Check also browser encoding settings and page settings in headers...

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2012-08-27 14:23:56 +0800

Seen: 294 times

Last updated: Oct 30 '12

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More