473,721 Members | 2,259 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 6158
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
2946
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 has a really small font by comparision to the display font in the forum, and I wanted to at least have the same size if possible. After some hours of working the issue, I tested about every relevant entry in the Style Sheet. I found one line...
0
1404
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 there anyone who can help me solve this problem. Thanks. Note: The Ink object is from Microsoft.Ink namespace. Code:
4
11541
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 having issues using XmlTextWriter, saving it out to a file with UTF8 encoding, and seeing "dirty", or "human unreadable" characters show up *right before* the XML declaration. I need to have the XML declaration state "encoding = utf-8", but also...
2
7052
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 image urls, and I would like to get the width and height of every image without spending the time and bandwidth of downloading every image.
1
1932
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 there anyone who can help me solve this problem. Thanks. Note: The Ink object is from Microsoft.Ink namespace. Code:
2
7965
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. Could someone tell me other way to create pdf from utf8? Thansk. Greetings from Sardinnia,
0
862
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 task to complete. I need the original process to continue before the completion of the other task. What are the settings that need to be made ?
0
2339
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
3617
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 place of tr but not working to create nicely div, What can i use? all the bold text are the problem areas. <div id="light" class="white_content"> <div class="bgErrorMessage">
0
8840
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9215
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9131
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9064
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8007
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6669
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4484
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3189
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2576
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.