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

Home Posts Topics Members FAQ

charset for accented characters

Despite charset being discussed to death, and despite having followed
all of those threads, I still have problems.

http://www.tsmchughs.com/recipes/soda-bread

This page uses iso-8859-1 charset. From the headers:
Content-Type: text/html; charset=iso-8859-1

Under ingredients are characters for fractions (188, 189, and 190) and
the degree character (176), characters which Lynx can display on
http://www.obviously.com/browsers/iso-8859-1.html
However, Lynx does not display the one half character on my soda-bread
page. What have I done wrong?

Then there's accented letters.

http://www.bonfete.biz/
http://www.julietremblay.com/about/philosophy.html

Both of those pages contain accented e (the first has an e circumflex,
the second, e aigu). It's fine in Mozilla, IE/Win, and Opera. But in
Lynx, these letters show us as strange-looking (to me, at any rate)
glyphs. This is true on my pages, and on the browser test page. Is
there anything I should do to fix it?

--
Brian
follow the directions in my address to email me

Jul 20 '05
23 3954
Brian wrote:

http://www.tsmchughs.com/recipes/soda-bread

Under ingredients are characters for fractions (188, 189, and 190)
and the degree character (176), characters which Lynx can display
on http://www.obviously.com/browsers/iso-8859-1.html However, Lynx
does not display the one half character on my soda-bread page.


As Alan Flavell told me, the problem was with my Lynx config, and not
my html authoring. Sorry for the ot post.

--
Brian
follow the directions in my address to email me

Jul 20 '05 #11
On Tue, 16 Dec 2003, Stan Brown wrote:
You need to tell Lynx which character set you're using,
Yes - which *display* character set you're using, to be exact (this is
separate from the character encoding of the incoming HTML document:
Lynx does its best to map between the two).
You didn't tell us anything about your system,
Indeed. The observations seemed to me to be suggestive of Lynx
running in a DOS-type window being used under Windows, but there are
other possibilities that fit the facts...
so I have no idea whether my setting
CHARACTER_SET:c p437
will work for you.


Background:

CP437 is the original US-specific MS-DOS code page. It doesn't
contain the complete Latin-1 character repertoire.

As I understand it, Windows (ever since the production release of
Win95) has used CP850 - the DOS Latin-1 code page - for DOS windows
used in Windows. At least that's true in the European context, and I
don't _think_ they've crippled the US users by sticking to CP437 there
(437 had been used in the Win95 pre-production beta, and drawn quite
a lot of adverse comment).

Practical:

If one is using a CP850 display character set, then obviously the
results will be better by telling Lynx that it is so. On the other
hand, if one is using CP437 display, then one should still tell Lynx
the truth, and it will do its best, but some of the Latin-1 repertoire
characters will not display correctly. Sorry, I forget what those
were exactly, but they can be looked-up at the Unicode site:
http://www.unicode.org/Public/MAPPIN...ORS/MICSFT/PC/

The easiest approach might be to visit some kind of bona fide* test
page for the repertoire - for example I have
http://ppewww.ph.gla.ac.uk/~flavell/...unidata00.html as part of
my unicode test pages, or the old
http://ppewww.ph.gla.ac.uk/~flavell/.../isotable.html iso-8859-1
-specific table. Then play with the Lynx "display character set"
setting until the best match is achieved, concentrating on cp850 or
cp437 if the problematic setting had been iso-8859-1, or trying
iso-8859-1 and/or windows-1252 if the problematic setting had been
cp437 or cp850.

I'd be interested to hear whether you see differences between 437 and
850 as your display charset setting, and which gives more accurate
results.

*) if you come across a page which purports to display visible
characters for code positions 128 to 159 decimal (80 to 9f hex) as if
they were a normal and proper part of iso-8859-1, then it's bogus.

Also, I have an ancient web page on the topic of running Lynx in
DOS-type environments, which may be partially useful on this topic
(the stuff in there about DOS-compatible packet drivers is irrelevant
to this).

[note crossposted and f'ups set]

cheers
Jul 20 '05 #12
On Wed, 17 Dec 2003, Brian wrote:
Alan J. Flavell wrote:
OH YES IT DOES! (I've been waiting for a chance to do that...)


? Not sure what to make of that.


Sorry - it's a peculiarly British thing, around this time of year.
Jul 20 '05 #13
Alan J. Flavell wrote:
On Wed, 17 Dec 2003, Brian wrote:
Alan J. Flavell wrote:
OH YES IT DOES! (I've been waiting for a chance to do that...)


? Not sure what to make of that.


Sorry - it's a peculiarly British thing, around this time of year.


Hmm. I recall a Monty Python sketch (from the television program) in
which the BBC was portrayed as being out of money, and resorting to
all sorts of tricks to trim the budget. In the sketch, a woman comes
in and begins arguing with John Cleese's military commander character,
her saying, "Oh yes it is," and him replying, "Oh no it isn't!" Is
this related?

--
Brian
follow the directions in my address to email me

Jul 20 '05 #14
Alan J. Flavell wrote:
On Wed, 17 Dec 2003, Brian wrote:

Alan J. Flavell wrote:
OH YES IT DOES! (I've been waiting for a chance to do that...)


? Not sure what to make of that.

Sorry - it's a peculiarly British thing, around this time of year.


Oh no it isn't !

;)

Jul 20 '05 #15
In article <4dQDb.67863$8y 1.261954@attbi_ s52>, one of infinite monkeys
at the keyboard of Brian <us*****@juliet remblay.com.inv alid-remove-this-part> wrote:
OH YES IT DOES! (I've been waiting for a chance to do that...)


? Not sure what to make of that.


Look up pantomime. It's a tradition that's hard to escape in .uk
around this time of year :-)

--
Nick Kew
Jul 20 '05 #16

"Nick Kew" <ni**@fenris.we bthing.com> wrote in message
news:sh******** ***@jarl.webthi ng.com...
In article <4dQDb.67863$8y 1.261954@attbi_ s52>, one of infinite monkeys
at the keyboard of Brian

<us*****@juliet remblay.com.inv alid-remove-this-part> wrote:
OH YES IT DOES! (I've been waiting for a chance to do that...)


? Not sure what to make of that.


Look up pantomime. It's a tradition that's hard to escape in .uk
around this time of year :-)


Pantomime. As far as I used to know, it means to try to communicate
something without words. (US usage.) Then I learned of the "pantomime
horse", which is apparently what we call a rocking horse or a hobby horse.
Then, last year, Scotland was one of the two countries profiled (Mali was
the other) during the Smithsonian Folklife Festival on the Mall in
Washington. One of the exhibits demonstrated pantomime. As far as I could
tell, it's another way of saying "skit". What distinguishes pantomime from
any other kind of silly play?

Jul 20 '05 #17
On Tue, 16 Dec 2003, Stan Brown wrote:
You need to use the metric system and forget about silly fractions.


Who are you and what have you done with Andreas?


Hmmm, please note that the International System of Units (SI) is
one of my favourite topics.
<http://groups.google.c om/groups?q=SI+Pri lop>

Jul 20 '05 #18
On Tue, 16 Dec 2003, Stan Brown wrote:
You need to tell Lynx which character set you're using, via a
setting in the Lynx.cfg file. You didn't tell us anything about your
system, so I have no idea whether my setting
CHARACTER_SET:c p437
will work for you.


The obsolete cp437 is not a good idea since it does not cover all
Latin-1 characters; for example it has no "fraction 3/4".
Better use cp850, which has all characters from Latin-1.

Jul 20 '05 #19
"Harlan Messinger" <h.*********@co mcast.net> wrote:
Pantomime. As far as I used to know, it means to try to communicate
something without words. (US usage.) Then I learned of the "pantomime
horse", which is apparently what we call a rocking horse or a hobby horse.
Then, last year, Scotland was one of the two countries profiled (Mali was
the other) during the Smithsonian Folklife Festival on the Mall in
Washington. One of the exhibits demonstrated pantomime. As far as I could
tell, it's another way of saying "skit". What distinguishes pantomime from
any other kind of silly play?


A British pantomime (the word came from Italian and means something
else in it's original context) is a very stylised form of play.

It's normally a retelling of a classic children's story (Cinderella,
Aladain, Peter Pan, etc.) with lots of jokes and audience
participation added.

The humour tries to work on two levels with lots of jokes for teh kids
but enough double entendresto keep the adults chuckling. Topical jokes
often find their way into the script as well.

The leading male part is played by a woman (called the Principal Boy).

Comedy older female parts are played by men (called Pantomime Dames).

The audience will shout out "He's behind you!" at appropriate moments
and will join in one side of an exchange of "Oh yes it is!" "Oh no it
isn't" (repeat). Often children in the audience will be invited on
stage for the finale.

Pantomime's are normally performed at Christmas, with a fairly large
percentage of all Britain's theatres putting on a panto during
Decemeber and January. Actors from soap operas and comedy shows, plus
pop stars and TV presenters take parts in panto each year, leading to
some very odd combinations of people appearing on stage together.

Generally it is mostly children and the parents of children go to see
a Christmas panto in the theatre. The rest of us are sometimes
subjected to the far worse fate of the office christmas panto...

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net > <http://steve.pugh.net/>
Jul 20 '05 #20

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

Similar topics

1
3846
by: Bernhard Georg Enders | last post by:
I'm using the php 'file' command to read the contents of an ASCII text file to a variable. The original text file contains some accented and special characters. The problem arises when I echo this variable: the accented characters are messed up. And not only accented characters, for example, the special characters ª is printed as ª. What can I do to correct this issue? I have tried, without success, to use the 'setlocale' command. TIA,
1
2454
by: Fuzzyman | last post by:
I've written an anagram finder that produces anagrams from a dictionary of words. The user can load their own dictionary. ( http://www.voidspace.org.uk/atlantibots/nanagram.html ) In order to ensure it is able to find anagrams properly I wanted to strip characters like punctuation etc from words in the dictionary and words the user entered. I test(ed) against the 26 English letters ( string.ascii_lowercase ).
14
16130
by: Nicolas Bouillon | last post by:
Hi I would like to replace accentuel chars (like "é", "è" or "à") with non accetued ones ("é" -> "e", "è" -> "e", "à" -> "a"). I have tried string.replace method, but it seems dislike non ascii chars... Can you help me please ? Thanks.
2
2662
by: Remco van den Berg | last post by:
I'm running a MySQL database with one of tables holding the members of a volleybal club in the Netherlands. One the the fields in that table is holding the name of the players. How do I search for all people with the name "Andre", with the important remark, that it should also match "André"!! So with the letter "e" with an accent "'" on it. In the Netherlands those names can be spelled with and without the accent and I do not always...
2
1707
by: nicolas_riesch | last post by:
I try to use python as the language in an asp page with Microsoft IIS 5.0. I have these two files, req_bad.asp and req_ok.asp ---------- req_bad.asp --------- <%@LANGUAGE=Python%> <%
4
2032
by: Satish | last post by:
Hi Gurus, Please help me in this, I have tried all options available to me. (Option 1) I am making a simple request from VB.NET client to WBI generated WSDL and passing request parameters. The response I am expecting should have some accented characters (Customer Name: Lokalcenter Åbygård), but this gets truncated and response is as follows (Customer Name: Lokalcenter bygrd). The WSDL has utf-8 character set defined.
0
2307
by: shintu | last post by:
Hallo, I am trying to write french accented characters é è ê in Excel worksheet using my perl script , But I am stuck here as I couldnt find a way of writing it !: My code: use strict; use warnings;
2
6433
by: gsuns82 | last post by:
Hi all, I have to replace accented characters from a input string with normal plain text.I have coded as follows. String input = "ÄÀÁÂÃ"; input= input.replaceAll("", "A"); like wise v can do for all. output was: ************ AAAAA
4
2899
by: gsuns82 | last post by:
Hi all, I am facing a strange issue. i.e: I have a jsp page with an input text field where the user can enter searching value even along with Accented Characters.After that i am getting the input value at the controller inorder to compose a query,before that i am replacing Accented Characters with plain text values so that i can append the proper input value in the DBquery. I tried to replace the input string for ...
0
10346
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
10347
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
9173
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...
0
6863
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
5531
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?
1
4308
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
3832
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3001
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.