Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 25th, 2006, 01:00 AM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 363
Thanks: 0
Thanked 1 Time in 1 Post
Default Chinese characters

Hello,

  I have a database table to store all company details. In this, one filed is "company_name_chinese" which stores chinese characters.

How can i accept chinese characters from the webform and display on HTML page?



 
Old April 25th, 2006, 10:25 PM
Registered User
 
Join Date: Apr 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You may need to add in the Web.config file
<globalization requestEncoding="utf-8" responseEncoding="utf-8" fileEncoding="utf-8"/>

Make also sure you set the WebBrowser encoding to the appropriate format.

Also if you use Chinese characters somewhere on the form or the code you need to save the files with Unicode.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Chinese characters appearing in Access DB countrymusicman Access VBA 1 April 18th, 2007 10:55 AM
Mangling Chinese Characters in a combo box r_georg C++ Programming 1 February 1st, 2007 03:33 PM
asp:button to display chinese characters liduwan ASP.NET 1.0 and 1.1 Basics 4 January 14th, 2006 09:50 PM
Read XML having japanese and chinese characters mvvramesh XML 0 May 31st, 2004 06:17 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.