We are about to go online with an ASP.Net site. We have found that it
is easiest for us to use windows-1252 content encoding, since that
solves our problems with some special characters. Are there some
general disadvantages about using this codepage (most sites I know use
utf-8 or iso) - I am thinking of things like search engine
incompatibiliti es - or should it be OK to use 1252?
Thanks for any hint in advance,
Regards
DC 12 2169
The characters in the windows-1252 code page that are different (0x80 to
0x9F), and apparently the reason you want to use it, are not recognized by
most browsers, and are not supported by HTML standards. You would do better
to use the standard UTF-8 encoding, and use HTML-Encoding for special
characters.
Any character can be HTML-Encoded by using the &#number sequence in the
HTML, in which "number" is the numerical value of the character. For
example, 'ä' would be HTML-Encoded as ä. In addition, you can use the
System.Web.Http ServerUtility.H tmlEncode (or the
System.Web.Http Utility.HtmlEnc ode) method to ensure that any block of text
is properly HTML-encoded, without having to HTML-encode individual
characters, or know their numeric values. Only illegal HTML characters will
be encoded. Similarly, blocks of text can be decoded back into their
original state using the HttpDecode method.
--
HTH,
Kevin Spencer
Microsoft MVP
Professional Chicken Salad Alchemist
I recycle.
I send everything back to the planet it came from.
"DC" <dc@upsize.de > wrote in message
news:11******** *************@u 72g2000cwu.goog legroups.com... We are about to go online with an ASP.Net site. We have found that it is easiest for us to use windows-1252 content encoding, since that solves our problems with some special characters. Are there some general disadvantages about using this codepage (most sites I know use utf-8 or iso) - I am thinking of things like search engine incompatibiliti es - or should it be OK to use 1252?
Thanks for any hint in advance,
Regards DC
Thus wrote Kevin, The characters in the windows-1252 code page that are different (0x80 to 0x9F), and apparently the reason you want to use it, are not recognized by most browsers, and are not supported by HTML standards.
They are regular Unicode characters and thus can be represented as HTML entities.
Otherwise, a page like http://www.microsoft.com/globaldev/r...sbcs/1252.mspx
couldn't exist ;-)
Also, Windows-1252 is registered with IANA, and supported on many platforms.
Actually, I would assume that there's no modern platform that doesn't offer
support for Windows-1252.
You would do better to use the standard UTF-8 encoding, and use HTML-Encoding for special characters.
I won't disagree with that :-)
Cheers,
--
Joerg Jooss ne********@joer gjooss.de
> Also, Windows-1252 is registered with IANA, and supported on many platforms. Actually, I would assume that there's no modern platform that doesn't offer support for Windows-1252.
Platforms? Sure. Browsers? No.
--
HTH,
Kevin Spencer
Microsoft MVP
Professional Chicken Salad Alchemist
I recycle.
I send everything back to the planet it came from.
"Joerg Jooss" <ne********@joe rgjooss.de> wrote in message
news:94******** *************** ***@msnews.micr osoft.com... Thus wrote Kevin,
The characters in the windows-1252 code page that are different (0x80 to 0x9F), and apparently the reason you want to use it, are not recognized by most browsers, and are not supported by HTML standards.
They are regular Unicode characters and thus can be represented as HTML entities. Otherwise, a page like http://www.microsoft.com/globaldev/r...sbcs/1252.mspx couldn't exist ;-)
Also, Windows-1252 is registered with IANA, and supported on many platforms. Actually, I would assume that there's no modern platform that doesn't offer support for Windows-1252.
You would do better to use the standard UTF-8 encoding, and use HTML-Encoding for special characters.
I won't disagree with that :-)
Cheers, -- Joerg Jooss ne********@joer gjooss.de
Thus wrote Kevin, Also, Windows-1252 is registered with IANA, and supported on many platforms. Actually, I would assume that there's no modern platform that doesn't offer support for Windows-1252. Platforms? Sure. Browsers? No.
Out of curiosity: What relevant browser wouldn't support Windows-1252?
Cheers,
--
Joerg Jooss ne********@joer gjooss.de
Thus wrote Joerg, Thus wrote Kevin,
Also, Windows-1252 is registered with IANA, and supported on many platforms. Actually, I would assume that there's no modern platform that doesn't offer support for Windows-1252. Platforms? Sure. Browsers? No.
Out of curiosity: What relevant browser wouldn't support Windows-1252?
Sorry, make that "doesn't".. .
Cheers,
--
Joerg Jooss ne********@joer gjooss.de
Thank you for the discussion. I also thought that we would be better
off to use utf-8 or iso, but a lot of our static and db content is not
properly encoded for anything else than 1252. From what I hear we will
not get catastrophic results with using 1252 but we should convert our
content and preferrably use utf-8 if we can.
Regards
DC
Joerg Jooss schrieb: Thus wrote Joerg,
Thus wrote Kevin,
Also, Windows-1252 is registered with IANA, and supported on many platforms. Actually, I would assume that there's no modern platform that doesn't offer support for Windows-1252.
Platforms? Sure. Browsers? No. Out of curiosity: What relevant browser wouldn't support Windows-1252?
Sorry, make that "doesn't".. .
Cheers, -- Joerg Jooss ne********@joer gjooss.de
I couldn't say offhand. First you would have to define "relevant." Then I
would have to check. But if you're curious, and since you already know what
your definition of "relevant" is, and since my time is *highly* limited, I
suggest that you might check for yourself.
--
HTH,
Kevin Spencer
Microsoft MVP
Professional Chicken Salad Alchemist
I recycle.
I send everything back to the planet it came from.
"Joerg Jooss" <ne********@joe rgjooss.de> wrote in message
news:94******** *************** ***@msnews.micr osoft.com... Thus wrote Joerg,
Thus wrote Kevin,
Also, Windows-1252 is registered with IANA, and supported on many platforms. Actually, I would assume that there's no modern platform that doesn't offer support for Windows-1252.
Platforms? Sure. Browsers? No. Out of curiosity: What relevant browser wouldn't support Windows-1252?
Sorry, make that "doesn't".. . Cheers, -- Joerg Jooss ne********@joer gjooss.de
I did have a few minutes to look up one reference for you. I'll leave it to
you to read it: http://www.w3.org/International/tuto...rial-char-enc/
--
HTH,
Kevin Spencer
Microsoft MVP
Professional Chicken Salad Alchemist
I recycle.
I send everything back to the planet it came from.
"Joerg Jooss" <ne********@joe rgjooss.de> wrote in message
news:94******** *************** ***@msnews.micr osoft.com... Thus wrote Kevin,
Also, Windows-1252 is registered with IANA, and supported on many platforms. Actually, I would assume that there's no modern platform that doesn't offer support for Windows-1252. Platforms? Sure. Browsers? No.
Out of curiosity: What relevant browser wouldn't support Windows-1252? Cheers, -- Joerg Jooss ne********@joer gjooss.de
Thus wrote Kevin, I couldn't say offhand. First you would have to define "relevant."
Something web developers generally consider worthwhile to develop and test
for.
Then I would have to check. But if you're curious, and since you already know what your definition of "relevant" is, and since my time is *highly* limited, I suggest that you might check for yourself.
Thanks, no. Assuming you either get a recent Mozilla or Firefox build for
any *NIX, BSD or Linux, the answer probably is that there is no issue.
Cheers,
--
Joerg Jooss ne********@joer gjooss.de This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: someone |
last post by:
|
by: Wilbur |
last post by:
My company is considering using C# for a large project and it is a
language I'm only just now becoming familiar with. For the most part
I like it and that seems to be the most logical choice as far as
future support. My question is: what are the disadvantages or
limitations of using C#? So far I've seen very few people willing to
mention anything "bad" about it, but every language has it's faults.
We would be using C# in the .NET Framework...
|
by: EmJayEm |
last post by:
Can someone tell me the Disadvantages/Cons of web services?
Thanks,
EmJ.
|
by: m.roello |
last post by:
In the book:
"Working with Microsoft Visual Studio 2005"
Craig Skibo wrote:
"The power of Visual Studio 2005 lies in its ability to empower users to
build, test, and debug powerful applications quickly and easly."
I don't agree on what concernes ASP .NET Web Sites in VS2005.
All what involves Namespaces in Web sites has been disappeared. I know
you can still MANUALLY manage them, but not QUICKLY and EASLY. In a
|
by: GVN |
last post by:
Hi All,
Can anyone guide me when asynchronous method calls will be
benificial? Are there any
disadvantages of using asynchronous calls?
Thanks,
| |
by: emaghero |
last post by:
Hello All,
I have been programming in C++ using Microsoft Visual Studio for quite some time
now and I was wondering if there are any advantages in swithcing platforms from Windows to Linux.
Is there any major difference or is it a matter of taste?
The cost is not a major factor, as I get my software from the university, in any case I don't mind paying for good software.
My coding is primarily numerical and scientific computing...
|
by: vumani |
last post by:
what is the advantages and disadvantages of Ms SQL server and java servletts front-end on the clien end.
what is the advantages and disadvantages of Ms Access on the server, connected via JDBC and java on the client end.
what is the advantages and disadvantages of HTML on the client end,coupled with SQL server and ODBL on the server end.
|
by: Jonathan Sachs |
last post by:
I'm a programmer learning PHP. I'm looking for some input on its
strong and weak points compared to other server-side programming
environments, e.g., Java Server Pages.
Please note, this is not a religious question. Programming languages
are tools to me. I just want information about where different types
of solutions are likely to be optimal.
|
by: Marcel Overweel |
last post by:
Hi,
I'm developing a set of services for a software solution.
It will be broken down in several application including a few
windows services.
It is very likely that most of these services will run on one
(server) computer but we can't enforce that.
To make support and configuration a little easier, I was
|
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...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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...
|
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,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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...
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |