Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / August 2007

Tip: Looking for answers? Try searching our database.

cyrillic text saved as ?????????

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
martin - 07 Aug 2007 08:56 GMT
I have asp.net site which needs to sae cyrillic text.

I have changed the sql server table column to accept the text and also
placed a N in fornt of the sql code to insert it.   eg.  Insert (text) ( N'
some cyrillic text')

all works ok from  the dev machine and saves ok in database.   But when I
deploy to the windows server 2003 sp2   it starts inserting ??????  I have
checked that the codepage windows 1251 and 1252  are installed on both
machines,

So any ideas how to fix this?
Alexey Smirnov - 07 Aug 2007 09:00 GMT
> I have asp.net site which needs to sae cyrillic text.
>
[quoted text clipped - 8 lines]
>
> So any ideas how to fix this?

Hi Martin

check <globalization> tag in web.config

Hope it helps
martin - 07 Aug 2007 09:08 GMT
Hi Alexey

Yes I tried that I put  windows-1251    but no joy , still saved as ???????

The wierd thing is when I run on my dev machine ( win xp)  it all works ok,  
but when deployed to server it stops.   On the dev machine I have not put any
globalisation tags in the web config, but it still works !?

> > I have asp.net site which needs to sae cyrillic text.
> >
[quoted text clipped - 14 lines]
>
> Hope it helps
Michel Couche - 07 Aug 2007 14:23 GMT
Martin,

I got a similar problem that was solved by changing the field definition
from nvarchar to ntext.
I could afford the extra-cost of a "ntext" in my project but maybe this is
not an efficient solution in your situation.

Michel

>I have asp.net site which needs to sae cyrillic text.
>
[quoted text clipped - 9 lines]
>
> So any ideas how to fix this?
misko.ecim@gmail.com - 08 Aug 2007 04:30 GMT
Maybe you don't have the right font on production server?
Alexey Smirnov - 08 Aug 2007 08:59 GMT
On Aug 8, 5:30 am, misko.e...@gmail.com wrote:
> Maybe you don't have the right font on production server?

:-)

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.