473,398 Members | 2,125 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Problem with cookie and htmencoding (danish characters)

Hi

I have a search page (aspx) where users have the option to "remember" their
search criterias. I use a a cookie to store these criterias. No problem in
storing and retreiving these values from the cookie, but when users enter one
of the special danish characters (æøå) then thise characters are displayed
with their associated escape character (e.g. "ø" is represented as "ø"). The
values are correct in the cookie. I retrieve the values like this:

Me.label1.Text = Server.HtmlEncode(Request.Cookies("CookieName")("V alue1"))

Any idea how to fix this - I have tried to put "codepage=65001" in the @page
directive.

Thanks
Peter
Nov 19 '05 #1
0 1093

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Lars Michael | last post by:
Hi, I'm on a Win2000 SP4 using IIS5, PHP4 (CGI-version) and MySQL My problem is this: Instead of getting nicely formatted danish characters when I use PHP to retrieve data from MySQL, all I...
18
by: LarsM | last post by:
Hi all, I am new to XML, but I use it for an RSS feed. I have one problem, which I have really been struggling with. My XML document is generated from the contents of a MySQL database. It is...
0
by: Jason Shohet | last post by:
GOAL: a .NET cookie, in a user's cookie folder, contains the machinename of the current machine the user is on. Various .NET apps will look at that cookie file to determine if the logged in user...
1
by: Steven M. | last post by:
Greetings... I need desperate help with my problem. I guess the solution is related in some way with the cookies getting lost in the authentication process working with some web servers. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.