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 / December 2007

Tip: Looking for answers? Try searching our database.

SeletedIndex change charset on Gridview

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
inga2005 - 20 Dec 2007 09:49 GMT
Hi!
I have a very strange problem. I populate a gridview control with a
list containing swedish cities and that looks fine. But once I click
on one of the rows in the gridview to select that specific row the
swedish characters å,ä,ö are translated into rubbish such as ## and
other. Does anyone know why this is happning?
Cheers
/erik
Michael Nemtsev [MVP] - 20 Dec 2007 11:37 GMT
Hello inga2005,

I suppose it happens when viewstate tries to restore your unicode symbols
and translates them to ASCII

---
WBR,
Michael  Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour 

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

i> strange problem. I populate a gridview control with a
i> list containing swedish cities and that looks fine. But once I click
i> on one of the rows in the gridview to select that specific row the
i> swedish characters å,ä,ö are translated into rubbish such as ## and
i> other. Does anyone know why this is happning?
i> Cheers
i> /erik
inga2005 - 20 Dec 2007 12:47 GMT
> Hello inga2005,
>
[quoted text clipped - 15 lines]
> i> Cheers
> i> /erik

Any ideas what I should do to fix this?
/Erik

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.