catalyst2 community forums  

Go Back   catalyst2 community forums > Support > Scripting Support

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 13-12-2007, 10:52 AM   #1 (permalink)
Registered User
 
Join Date: Jul 2004
Posts: 34
Foreign alphabet support & ASP / email

Hi all

I need to create an ASP form that will allow global users enter information in their native language (& alphabet), and then email that information using CDO.

I also need to store the inforamtion in a SQL database, so I could either use the database as the source for the email or the ASP form, don't mind either way.

I've done a simple test and it appears that Norwegian-type characters are ok, but Chinese/Russian are not. The Norwegian characters are stored in the database as they appear on the screen, but the Russian/Chinese are not (they are stored like this мат&#1077).

Any tips or clues as to how I could achieve what I need to?

Many thanks
Alan
AlShack is offline   Reply With Quote
Old 14-12-2007, 09:44 AM   #2 (permalink)
Bring me your problems :p
 
paulredpath's Avatar
 
Join Date: Jan 2003
Location: /dev/ahhhhhhhhh
Posts: 3,537
Alan,

They will all need different character sets, and in an sql db you can only store latin or say chinese etc to the best of my knowledge.

If you can find any way of doing this please let us know and we can try any workarounds.
paulredpath is offline   Reply With Quote
Old 15-12-2007, 08:54 AM   #3 (permalink)
Administrator
 
WhiskyFudge's Avatar
 
Join Date: Oct 2003
Posts: 1,484
Since SQL 2000 you've been able to change the character set an individual database/table/column uses from the property field 'Collation'. (Previously it was server wide only!) Looking at what's available on cat2's installation of MS SQL 2005 you should be covered to do what you want. However I'm sure Paul will be willing to add additional character set's should it be required.

I know this will work as I did a project that still sits on Cat2's servers that supports multiple languages. Once you set the database properties correct the rest is pretty much plain sailing as far as I can remember.

I do however sense that this will mean you'll have to have a different column for every character set you wish to support which isn't all that idea. So if anyone has any better ideas I'm all ears.

HTH

Jas
__________________
Jason Robbins
jason@catalyst2.com
WhiskyFudge is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 12:37 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.