Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Database > SQL Language
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
SQL Language SQL Language discussions not specific to a particular RDBMS program or vendor.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Language section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 10th, 2004, 02:28 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
Posts: 347
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Adam H-W
Default chinese alphabet

Hi there

How can I input Chinese symbols into a SQL database?

Basically a client has asked me to add a section in Chinese (not written by me!) to a predominantly English site stating that the company in question does alot of business with China and encourages it through the website; so what I need to do is add a little bit of Chinese text to the database.

Also, will it display on the outputted page correctly??

Any ideas?

thanks

Adam

Reply With Quote
  #2 (permalink)  
Old November 10th, 2004, 03:40 PM
Authorized User
 
Join Date: Apr 2004
Location: Boise, ID, USA.
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This depends on the database you are using and the character set of the web site (among other things)...

Are you using SQL Server? Oracle? Something else?

What character set is the web site served in? What character set will the Chinese part be served in? While it is possible to serve the entire site using a Unicode character set, most sites choose to use a local character set for Asian viewers since a large chunk of the browsers in those markets don't support Unicode.

Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC
Reply With Quote
  #3 (permalink)  
Old November 11th, 2004, 05:53 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
Posts: 347
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Adam H-W
Default

I'm using sql server 2000.

Do you think it might be best to write the chinese in graphic form then and pull it from the db as a graphic? that way it won't be changed depending on the local character set.

Reply With Quote
  #4 (permalink)  
Old November 11th, 2004, 01:37 PM
Authorized User
 
Join Date: Apr 2004
Location: Boise, ID, USA.
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts
Default

A graphic of the text would work. The big technical problem would be page size and load time. You would also prevent people from being able to do something useful with the text (i.e. cut-and-paste contact information). You may also end up sending a message to potential customers if your website is seen to support Chinese poorly.

Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC
Reply With Quote
  #5 (permalink)  
Old November 16th, 2004, 04:16 AM
Authorized User
 
Join Date: Nov 2004
Location: , , Hong Kong.
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Moreover, the support of the progarmming language is also a concern as some language restrict the use of non-english string in its design.....

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chinese characters rajanikrishna ASP.NET 1.0 and 1.1 Basics 1 April 25th, 2006 10:25 PM
I'm chinese ChinaWolf C# 3 January 23rd, 2006 04:32 AM
How to create a random alphabet? gefferye C# 1 October 29th, 2005 10:33 PM
i'm chinese wsaspx General .NET 1 April 6th, 2005 07:04 AM



All times are GMT -4. The time now is 10:13 AM.


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