DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Tue, 7 Aug 2007 00:56:01 -0700,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    martin
          2    Alexey Smirnov
          3    martin
          4    Michel Couche
          5    unknown
          6    Alexey Smirnov


cyrillic text saved as ?????????   
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?
Date:Tue, 7 Aug 2007 00:56:01 -0700   Author:  

Re: cyrillic text saved as ?????????   
On Aug 7, 9:56 am, martin  wrote:

> 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?


Hi Martin

check <globalization> tag in web.config

Hope it helps
Date:Tue, 07 Aug 2007 01:00:40 -0700   Author:  

Re: cyrillic text saved as ?????????   
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 !?





"Alexey Smirnov" wrote:


> On Aug 7, 9:56 am, martin  wrote:
> > 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?
> 
> Hi Martin
> 
> check <globalization> tag in web.config
> 
> Hope it helps
> 
> 
Date:Tue, 7 Aug 2007 01:08:01 -0700   Author:  

Re: cyrillic text saved as ?????????   
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


"martin"  wrote in message 
news:98A60B79-73C4-4113-A8D4-4D20D2FD903B@microsoft.com...

>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?
>
>
>
> 
Date:Tue, 7 Aug 2007 15:23:58 +0200   Author:  

Re: cyrillic text saved as ?????????   
Maybe you don't have the right font on production server?
Date:Wed, 08 Aug 2007 03:30:53 -0000   Author:  

Re: cyrillic text saved as ?????????   
On Aug 8, 5:30 am, misko.e...@gmail.com wrote:

> Maybe you don't have the right font on production server?


:-)
Date:Wed, 08 Aug 2007 00:59:24 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us