473,804 Members | 2,104 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

[poll] which charset

Hi,
A little poll for the week-end:
Which charset do you use for your website(s):
utf-8?
iso-8859-1 (...)?
other?
just don't care?
What charset is better now, say, for European languages like french, german,
spanish...
Jul 23 '05 #1
34 2798
nose wrote:

Hi,
A little poll for the week-end:
Which charset do you use for your website(s):
utf-8?
iso-8859-1 (...)?
other?
just don't care?
What charset is better now, say, for European languages like french, german,
spanish...


I use ISO-8859-1 except for a few pages where I'm demonstrating the
use of escape sequences and character references. Those two or
three pages validate only with WINDOWS-1252.

--

David E. Ross
<URL:http://www.rossde.com/>

I use Mozilla as my Web browser because I want a browser that
complies with Web standards. See <URL:http://www.mozilla.org/>.
Jul 23 '05 #2
Tim
On Sat, 12 Mar 2005 00:36:29 +0100, nose wrote:
Which charset do you use for your website(s): utf-8?
iso-8859-1 (...)?
US-ASCII. I don't have any easy way to type anything other than those
characters, so anything beyond it has been typed in using character
references.
What charset is better now, say, for European languages like french,
german, spanish...


Theoretically, if you want to use non-ASCII characters directly, UTF-8.
You've got one scheme which should cover all languages, and not various
different ones with various degrees of proper support, and avoiding a
possible need to use multiple different charsets within a website.

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.

This message was sent without a virus, please delete some files yourself.

Jul 23 '05 #3
On Sat, 12 Mar 2005, nose wrote:
A little poll for the week-end:
Oh dear. Is this a technical question or a popularity contest?
Which charset do you use for your website(s):
On the whole, I follow my own advice
http://ppewww.ph.gla.ac.uk/~flavell/charset/checklist

Following scenario 1 or 2 when possible; 5 when appropriate; and
scenario 6 or 7 when necessary.
What charset is better now, say, for European languages like french,
german, spanish...


iso-8859-1 is more compact. If you don't care about Netscape 4 any
more, you can also include occasional non-Latin characters when
necessary by &#number; notation. Don't use iso-8859-15. utf-8 isn't
wrong by any means, but it's less compact if the majority of the
content is Latin-1.

There are plenty of ways of converting "by rote" from one
representation to another. For example Mozilla Composer can save the
document with a different encoding, and will adapt to and from
&-notations as needed. For another example there's free recode. So
you can author documents in whichever encoding you find convenient,
and then serve them out in whichever encoding you think best meets
your readers' needs.

Jul 23 '05 #4
In article <Pi************ *************** ***@ppepc56.ph. gla.ac.uk>,
"Alan J. Flavell" <fl*****@ph.gla .ac.uk> wrote:
What charset is better now, say, for European languages like french,
german, spanish...


iso-8859-1 is more compact.


However, UTF-8 is easier to deal with if there are forms (assuming you
have a library that does Unicode normalization). With ISO-8859-1 user
can enter characters that aren't representable as ISO-8859-1.

I use UTF-8 in NFC on output and accept UTF-8 as input and normalize it
to NFC up front.

--
Henri Sivonen
hs******@iki.fi
http://hsivonen.iki.fi/
Mozilla Web Author FAQ: http://mozilla.org/docs/web-developer/faq.html
Jul 23 '05 #5
On Sat, 12 Mar 2005, Henri Sivonen wrote:
In article <Pi************ *************** ***@ppepc56.ph. gla.ac.uk>,
"Alan J. Flavell" <fl*****@ph.gla .ac.uk> wrote:
iso-8859-1 is more compact.
However, UTF-8 is easier to deal with if there are forms


Good point. (I have a page on that issue too ;-)
http://ppewww.ph.gla.ac.uk/~flavell/...form-i18n.html
(assuming you have a library that does Unicode normalization). With
ISO-8859-1 user can enter characters that aren't representable as
ISO-8859-1.


Indeed, and with some bizarre consequences.

So yes, if i18n forms input is to be expected, then one of the options
which get sent out as utf-8 certainly have some advantages (scenarios
6 and 7 on my checklist page).

But here too, Netscape 4 will have to be left behind.
Jul 23 '05 #6
In article <Pi************ *************** ***@ppepc56.ph. gla.ac.uk>,
"Alan J. Flavell" <fl*****@ph.gla .ac.uk> wrote:
ISO-8859-1.


Indeed, and with some bizarre consequences.

So yes, if i18n forms input is to be expected, then one of the options
which get sent out as utf-8 certainly have some advantages (scenarios
6 and 7 on my checklist page).

But here too, Netscape 4 will have to be left behind.


But Netscape 4.x users can still use the ISO-8859-1 repertoire with
UTF-8 forms, so I do not see Netscape 4.x as a reason for using
ISO-8859-1 over UTF-8.

--
Henri Sivonen
hs******@iki.fi
http://hsivonen.iki.fi/
Mozilla Web Author FAQ: http://mozilla.org/docs/web-developer/faq.html
Jul 23 '05 #7
On Sat, 12 Mar 2005, Henri Sivonen wrote:
But here too, Netscape 4 will have to be left behind.


But Netscape 4.x users can still use the ISO-8859-1 repertoire with
UTF-8 forms, so I do not see Netscape 4.x as a reason for using
ISO-8859-1 over UTF-8.


Aha, I see your point. I had written:

| It's true that Latin-1 characters can be typed-in (or pasted in from
| other windows that are using iso-8859-1 or windows-1252 coding), but
| that isn't particularly useful, after all, because if you only wanted
| Latin-1, you wouldn't be likely to choose utf-8 coding.

which is true as far as it goes, but your interpretation is also
valid, in the terms you put it. Thanks for the insight!

Jul 23 '05 #8
On Sat, 12 Mar 2005 00:36:29 +0100, nose wrote:
Hi,
A little poll for the week-end:
Which charset do you use for your website(s): utf-8?
iso-8859-1 (...)?
other?
just don't care?
What charset is better now, say, for European languages like french,
german, spanish...


I use UTF-8 when dealing with Hawaiian or if I'm expecting form input from
multiple languages.

La'ie Techie

Jul 23 '05 #9
Alan J. Flavell wrote:
Don't use iso-8859-15. utf-8 isn't
wrong by any means, but it's less compact if the majority of the
content is Latin-1.


Why don't use Iso Latin-9 ? Nowdays we can't anymore keep iso Latin-1
(euro sign of course, not very easy to deal with it as an entity on a
whole website). And iso latin-9 as the same advantage over utf-8 than
iso latin-1 : it's more compact. And, by the way, not everyone needs
Unicode as lots of website only contains texts written in latin script
languages. So I keep wondering : why don't use ISO Latin-9 ?
Jul 23 '05 #10

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

Similar topics

10
3260
by: JDJones | last post by:
I'd like to put up two polls on my web site on a single page. I will be using a free remotely hosted poll service. That part is easy. But I want to remove the two individual <a href> links that have to be clicked to call the current results individually and replace them with a single link that will be used to call the results of both pages and display them at the same time, most likely in a table. Can PHP be used to do this? How would...
17
1995
by: Doug Holton | last post by:
George W Bush, as certified by Florida's election commission. Which decorator syntax do you like the most? See http://wiki.wxpython.org/index.cgi/PythonDecoratorsPoll A. @classmethod def foo(): (82) 14% C1. def foo() : (235) 41% E1. def foo(): @classmethod (260) 45% Total Votes: 577
28
2402
by: Paul McGuire | last post by:
Well, after 3 days of open polling, the number of additional votes have dropped off pretty dramatically. Here are the results so far: Total voters: 55 (with 3 votes each) Votes for each choice or group of choices: Any J 81 J2 78 Any C 40 C1 29 Any D 9
9
4179
by: Lad | last post by:
Is there a poll script available in Python?
1
2583
by: Magnus Lycka | last post by:
I'm trying to read standard out in a process started with popen2 in a non-blocking way. (Other good ways of doing this than the one I tried are appreciated.) I've tried to dumb down my code to see what happens, and socket.poll seems to behave very strangely. I've tried to use the .poll method for the poll object with and without a timeout, but in either case, the output randomly switches between on of the versions below. It runs fast,...
0
2045
by: jinfeng_Wang | last post by:
I have writen the following souce code : m_Socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); m_Socket.Blocking = false; try { m_Socket.Connect(ipEndPoint); }
5
2686
by: pbd22 | last post by:
Hi. I am trying to poll a long-running process via a hidden IFrame. I am noticing that the online errata gives advice for handling a server response: window.parent.handleServerResponse(); The problem I am having with this is that the above function gets called ***after*** the long-running response is completed.
2
2503
by: webcm123 | last post by:
I'm making some changes in poll module. I don't know which method of storing options of poll is better. The main data of polls are in POLLS table. Speed and efficiency is the most important issue. There are 2 methods: 1. Storing options in ANSWERS table and executing 2 queries to get poll's data and options. Number of records connected with a poll in that table is equal to number of poll's options.
4
17549
by: 7stud | last post by:
Hi, What is the difference between: 1) getting the returncode directly from the subprocess object 2) calling poll() on the subprocess object? Here is an example:
0
9595
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10600
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, 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...
0
10352
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
7642
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
6867
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();...
0
5535
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...
0
5673
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3835
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3002
bsmnconsultancy
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...

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.