logo       

[ ghc-Bugs-1212959 ] lexical error with non-ascii chars in literals: msg#00003

lang.haskell.glasgow.bugs

Subject: [ ghc-Bugs-1212959 ] lexical error with non-ascii chars in literals

Bugs item #1212959, was opened at 2005-06-01 18:53
Message generated for change (Comment added) made by simonmar
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1212959&group_id=8032

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Compiler (Parser)
Group: 6.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: lexical error with non-ascii chars in literals

Initial Comment:
For GHC 6.4 on SuSE Linux 9.2 (installed from the GHC RPM).

When including SOME non-ascii characters in character or
string literals, in the source code, I get a "lexical error in
string/character literal" error message. Examples are some
french accents and german umlauts - é,Ü,Ä. However, with
other characters from the same set (like üä) there is no
problem, they are processed correctly

I checked with Hugs and there were no problems, so it seems
to be a GHC bug.

For further questions send email to: Rainer Volz, mail at
vrtprj.com






----------------------------------------------------------------------

>Comment By: Simon Marlow (simonmar)
Date: 2005-06-02 08:32

Message:
Logged In: YES
user_id=48280

It works fine for me. What encoding are you using? GHC
only understands the Latin-1 (ISO8859-1) encoding for source
files. If you are using Latin-1, then please attach a
source file that we can test.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1212959&group_id=8032


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise