Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: displaying double quotes/ single and chinese characters


Message #1 by "Louise Greally" <lou_greally@h...> on Tue, 29 Oct 2002 06:37:54
Hi

Im having trouble with double quotes/ single and chinese characters being 
displayed all in the one variable.

for example to display chinese chars the ascii values are saved to the db 
and when I display them in an input field <... value="<%=varName%>"> it 
works fine

However.. this field may also have english chars with quotes, so if use 
server.htmlencode or display the value using javascript and the escape 
char it clears up the prob with the quotes but the chinese chars appear 
exactly in their ascii format &#22829;&#31359; etc

any ideas most welcome

Cheers 

  Return to Index