[clean-list] isLower isUpper

Marco Kesseler m.kesseler@aia-itp.com
Tue, 7 May 2002 15:25:36 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0009_01C1F5DB.6F8848D0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

isLower isUpperThe question is of course, what codepage Char is in.

- ASCII
- ISO-8859-1
- Windows=20
- Mac
- ...

There is no portable way to classify =E4, =E9,=EE, =E7 and =F1 without =
knowing what codepage one is dealing with.

Hence the need for Unicode.

regards,
Marco

  ----- Original Message -----=20
  From: Erik Zuurbier=20
  To: 'clean-list@cs.kun.nl'=20
  Sent: Tuesday, May 07, 2002 03:06
  Subject: [clean-list] isLower isUpper


  I found out that the StdEnv function=20
     isLower :: Char -> bool=20
  answers True on a..z but not on characters such as =E4, =E9,=EE, =E7 =
and =F1.=20

  Or has this been corrected in the latest version?=20

  Same goes for isUpper=20

  Regards Erik Zuurbier

----------------------------------------------------------------------
Aia Software B.V.                     Phone :  +31 24 371 02 30
PO Box 38025                          Fax   :  +31 24 371 02 31
6503 AA Nijmegen                      URL   :  http://www.aia-itp.com
The Netherlands
----------------------------------------------------------------------
This E-mail and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this E-mail in error please notify
the postmaster (postmaster@aia-itp.com). The authenticity of this
message cannot, at this moment, be guaranteed by ourselves. For this
reason no legal rights may be granted should the contents differ to
the original sent message. The Aia log-file of sent messages is deemed
to be the sole, true transcript of communication unless the contrary,
other than the received message, can be proven.
----------------------------------------------------------------------

------=_NextPart_000_0009_01C1F5DB.6F8848D0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>isLower isUpper</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2715.400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>The question is of course, what =
codepage Char is=20
in.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>- ASCII</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>- ISO-8859-1</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>- Windows </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>- Mac</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>- ...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>There is no portable way to classify =
=E4, =E9,=EE,<FONT=20
face=3D"Times New Roman" size=3D3> </FONT><FONT face=3DArial =
size=3D2>=E7 and =F1 without=20
knowing&nbsp;what codepage one is dealing with.</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Hence the need for =
Unicode.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>regards,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Marco</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3DEZuurbier@Abz.nl href=3D"mailto:EZuurbier@Abz.nl">Erik =
Zuurbier</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dclean-list@cs.kun.nl=20
  href=3D"mailto:'clean-list@cs.kun.nl'">'clean-list@cs.kun.nl'</A> =
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, May 07, 2002 =
03:06</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [clean-list] isLower=20
  isUpper</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT><FONT=20
  face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT><BR></DIV>
  <P><FONT face=3DArial size=3D2>I found out that the StdEnv =
function</FONT>=20
  <BR><FONT face=3DArial size=3D2>&nbsp;&nbsp; isLower :: Char -&gt; =
bool</FONT>=20
  <BR><FONT face=3DArial size=3D2>answers True on a..z but not on =
characters such as=20
  =E4, =E9,=EE,</FONT> <FONT face=3DArial size=3D2>=E7 and =F1.</FONT> =
</P>
  <P><FONT face=3DArial size=3D2>Or has this been corrected in the =
latest=20
  version?</FONT> </P>
  <P><FONT face=3DArial size=3D2>Same goes for isUpper</FONT> </P>
  <P><FONT face=3DArial size=3D2>Regards Erik =
Zuurbier</FONT></P></BLOCKQUOTE>
<DIV dir=3Dltr><FONT face=3DArial size=3D2>
<DIV>--------------------------------------------------------------------=
--<BR>Aia=20
Software=20
B.V.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
Phone :&nbsp; +31 24 371 02 30<BR>PO Box=20
38025&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;=20
Fax&nbsp;&nbsp; :&nbsp; +31 24 371 02 31<BR>6503 AA=20
Nijmegen&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
URL&nbsp;&nbsp; :&nbsp; <A=20
href=3D"http://www.aia-itp.com">http://www.aia-itp.com</A><BR>The=20
Netherlands<BR>----------------------------------------------------------=
------------<BR>This=20
E-mail and any files transmitted with it are confidential =
and<BR>intended solely=20
for the use of the individual or entity to whom they<BR>are addressed. =
If you=20
have received this E-mail in error please notify<BR>the postmaster (<A=20
href=3D"mailto:postmaster@aia-itp.com">postmaster@aia-itp.com</A>). The=20
authenticity of this<BR>message cannot, at this moment, be guaranteed by =

ourselves. For this<BR>reason no legal rights may be granted should the =
contents=20
differ to<BR>the original sent message. The Aia log-file of sent =
messages is=20
deemed<BR>to be the sole, true transcript of communication unless the=20
contrary,<BR>other than the received message, can be=20
proven.<BR>--------------------------------------------------------------=
--------</DIV></FONT></DIV></BODY></HTML>

------=_NextPart_000_0009_01C1F5DB.6F8848D0--