473,385 Members | 1,356 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,385 software developers and data experts.

Response.Write and Swedish characters?

Hi,

I get all kind of strange characters when using Response.Write on swedish
characters (ÅÄÖ)

Like the word PÅ becomes PÃ.

What do I need to do to get it to output the correct character to the
browser.
Ps: I know response.write isnt supposed to be used in ASP.NET applications,
but what else does print at the moment when you write it? Eg, in a thread I
loop through objects, at each object I want to output a string to the
screen, tried literals but they dont output until page_load is completed.

- Fredrik
Nov 18 '05 #1
1 1950
Nevermind about the swedish chars, setting charset to utf-8 works.

But still wonder about the other question.

- Fredrik

"Fredrik Melin" <me*@n.o.spam.dacsa.net.remove.as.needed> wrote in message
news:ro********************@giganews.com...
Hi,

I get all kind of strange characters when using Response.Write on swedish
characters (ÅÄÖ)

Like the word PÅ becomes PÃ.

What do I need to do to get it to output the correct character to the
browser.
Ps: I know response.write isnt supposed to be used in ASP.NET applications, but what else does print at the moment when you write it? Eg, in a thread I loop through objects, at each object I want to output a string to the
screen, tried literals but they dont output until page_load is completed.

- Fredrik

Nov 18 '05 #2

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

Similar topics

4
by: Toffe | last post by:
Hi, I've got a problem with regular expressions and strings containing Swedish characters (åäö). I basically have a PHP script that highlights certain words in a text. I found the code...
0
by: ras | last post by:
I am from Sweden and I am trying to use Simple Search from Matt's Script Archive on my home page (web server is located in the United States) but it cannot find anything with Swedish special...
11
by: Dave Anderson | last post by:
Consider the following: var GUID = Server.CreateObject("Scriptlet.TypeLib").GUID Let's assume GUID is {9A46FCC9-A7A1-4C96-9394-B1A966CEC081}. I happened to notice that if I concatenate this...
5
by: Tim Mickelson | last post by:
Hi I thought that working with swedish characters would be easy, but since I'm working with MySQL 4.1 that's not the case any more. First thing I noticed (emditly) was an application that I've...
14
by: Hugh Welford | last post by:
Hi - trying to display a memo field using response.write but it truncates it. Is there a size issue with response.write? If so how do I get round it and to be able to display the whole memo field ...
9
by: Anna | last post by:
Hi, I use the Swedish letters å,ä,ö in my HTML code and it works perfectly in IE, but not in Netscape and Mozilla browsers. Does anyone know how to fix it? I use &aring for å, &auml for ä and...
1
by: Clarkbones | last post by:
When installing Access 2000, linked foxpro tables does not return the swedish characters å,ä,ö correctly. Has anyone any suggestion how to correct this behavior? This worked fine with Access 97...
2
by: Joseph | last post by:
Hello. I have this problem. See I have a transformed XML file and I checked its contents prior to outputting it to excel file via responseset. here is the gist of the code: XmlReader reader =...
3
by: John A Grandy | last post by:
When writing rss xml to the client browser , is there any reason to load the rss xml string into an XmlDocument and then Response.Write() the XmlDocument.OuterXML.ToString() ? option 1: ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.