storing and reteriving unicode char in SQL database
-
I'm trying to show japanese character on the page and to sent mail. To show on the screen, I've to save as the following format in SQL Server. "**
ƒtƒBƒŠƒbƒvØŒ”ƒIƒ“ƒ‰ƒCƒ“ŒûÀ\‚µ
**" and use encoding "shift-jis". It is showing correctly at browser. But if I send mail that message, it can't be shown on some mail. eg. gmail and hotmail can show but yahoo can't show correctly. If I store as the following format in SQL Server, it can show correctly on most of the web mail. " & #12458 ; & #12531 ; & #12521 ; & #12452 ; & # 12531 ; & #21475 ; & #24231 ;" Can anybody explain about these formats? Can anybody advice me for the best practise dealing with unicode character? I would like to use same format to show and to send for unicode character. I'm using classic ASP for server side script. Thanks in advance, Mann Khine
-
I'm trying to show japanese character on the page and to sent mail. To show on the screen, I've to save as the following format in SQL Server. "**
ƒtƒBƒŠƒbƒvØŒ”ƒIƒ“ƒ‰ƒCƒ“ŒûÀ\‚µ
**" and use encoding "shift-jis". It is showing correctly at browser. But if I send mail that message, it can't be shown on some mail. eg. gmail and hotmail can show but yahoo can't show correctly. If I store as the following format in SQL Server, it can show correctly on most of the web mail. " & #12458 ; & #12531 ; & #12521 ; & #12452 ; & # 12531 ; & #21475 ; & #24231 ;" Can anybody explain about these formats? Can anybody advice me for the best practise dealing with unicode character? I would like to use same format to show and to send for unicode character. I'm using classic ASP for server side script. Thanks in advance, Mann Khine
-
Yes Bob, I used nvarchar columns.
-
Yes Bob, I used nvarchar columns.