473,396 Members | 2,011 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,396 software developers and data experts.

UTF-8 with signature & UTF-8 without signature

Hi

I am creating some aspx files in Visual Studio 2003 for a Danish web
site.

The page is encoded as UTF-8 - However, when I save the the aspx file
as "UTF-8 without signature" the Danish characters Å Æ Ø are not
displayed correctly, when I choose to save the file as "UTF-8 with
signature" the characters are displayed correctly.

Can anyone explain the difference between UTF-8 with signature & UTF-8
without signature ?

Does saving the file as "UTF-8 with/without signature" render Codepage
attribute in the aspx file useless ?

Thanks in advanced.

JJBW
Nov 18 '05 #1
1 6133
JJBW wrote:
Hi

I am creating some aspx files in Visual Studio 2003 for a Danish web
site.

The page is encoded as UTF-8 - However, when I save the the aspx file
as "UTF-8 without signature" the Danish characters Å Æ Ø are not
displayed correctly, when I choose to save the file as "UTF-8 with
signature" the characters are displayed correctly.
Yes, same here.
Can anyone explain the difference between UTF-8 with signature & UTF-8
without signature ?
I guess the term "signature" refers to the UTF-8 byte order mark (aka
"BOM"), an optional three byte sequence (0xEF 0xBB 0xBF) at the beginning of
an UTF-8 byte stream identifying it as, um, UTF-8.
Does saving the file as "UTF-8 with/without signature" render Codepage
attribute in the aspx file useless ?


Well, the declared Codepage and and true physical encoding must of course
match. Since this is true when you specify Codepage="65001" and save the
file as UTF-8 without BOM, I guess it's a bug in the ASP.NET page
translator.

Cheers,

--
Joerg Jooss
jo*********@gmx.net

Nov 18 '05 #2

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

Similar topics

0
by: Paul D. Sullivan | last post by:
I've been trying to find out how to increase the font size in the text entry fields in Invision Power Board 1.3 for a while. The part where you enter your post and do the quick reply and all that...
0
by: den 2005 | last post by:
Hi everybody, I am problem with restoring data of byte type to be loaded on an Ink object. The data was earlier converted to byte then finally to hexadecimal data and store on a text file. Is...
4
by: H Lee | last post by:
Hi, I'm an XML newbie, and not sure if this is the appropriate newsgroup to post my question, so feel free to suggest other newgroups where I should post this message if this is the case. I'm...
2
by: Dave | last post by:
Dear Sirs, Is there a way to get the width and height of an image without downloading the image, or with just downloading a minimal portion of the image? For instance, I have a list of 10,000...
1
by: den 2005 | last post by:
Hi everybody, I am problem with restoring data of byte type to be loaded on an Ink object. The data was earlier converted to byte then finally to hexadecimal data and store on a text file. Is...
2
by: Sergej | last post by:
Hi! Everything on my php&mysql site is with charset utf8, and now I've to create pdf from the site... Fpdf doesn't support utf8... I saw ufpdf but it seems a quite unstable and with bugs. ...
0
by: VikingRL | last post by:
I want to change the way a visual studio completes a project. I need to call a batch file to run a separate set of jobs using another product, this works ok but the original project waits for this...
0
by: Thore Harald =?iso-8859-1?Q?H=F8ye?= | last post by:
I have made this testcase: ----------------------- #!/usr/bin/perl #use locale; #use encoding 'iso-8859-1'; use utf8; binmode(STDOUT, ":utf8"); print "\\x{00D8}:\n"; test("\x{00D8}");
4
by: ismailc | last post by:
Good day, RamananKalirajan helped me with a great script to do a popup div. The problem i now have is that the popup div within the div does not like any table><tr><td>, so itried using <div> in...
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
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
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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.