Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
Old 09-27-2005, 12:51 AM Language problem
whoam1's Avatar
Novice Talker

Posts: 11
Trades: 0
Hi All,

My company application use asp and MSSQL. In the past, it used to be able to stored multi language.
Recently, we have done a revamp to the site and application and the same code can no longer store foreign language into my database!
Instead of "สถาพร " in the past, it now store "????????" into my database. May I know what is the possible reason and how to fix it? Because a big project is going to kick off soon and my system cannot afford any error like this.
whoam1 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-27-2005, 07:41 AM
robsmith's Avatar
Skilled Talker

Posts: 50
Location: UK
Trades: 0
What are you column datatypes set to? sound like they should be unicode (nchar, nvarchar, and ntext)
robsmith is offline
Reply With Quote
View Public Profile
 
Old 09-27-2005, 11:30 PM
whoam1's Avatar
Novice Talker

Posts: 11
Trades: 0
Hi robsmith,
Initially I set the datatype as varchar, etc.... later I changed to nvarchar, but I still have a few problem:
1) I have problem displaying the text in input textbox
2) Sometimes, I also have problem displaying the text as normal html text. e.g. when I first login and view the record, the chinese text display properly(e.g.商號名稱). Later then I attempt to update or create a new record, the chinese text will display as "unreadable text" (e.g.商號名稱).
3) I need to import a huge amount of data with korean text from excel into the database, but after importing, the korean text all become question marks in the database.

OH yes! BTW, my company system is using a MSSQL 7 Database and asp language.


Please help, thanks!

Last edited by whoam1; 09-28-2005 at 12:28 AM..
whoam1 is offline
Reply With Quote
View Public Profile
 
Old 09-28-2005, 06:48 AM
robsmith's Avatar
Skilled Talker

Posts: 50
Location: UK
Trades: 0
Try changing your codepage property for either the page or session. see below.

http://www.asp-dev.com/main.asp?page=96

http://msdn.microsoft.com/library/de...ar_da_6ttf.asp
robsmith is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Language problem
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.48702 seconds with 12 queries