[GHC] #397: Reading source files in encodings other than Latin-1

GHC trac at galois.com
Thu Jan 12 16:32:43 EST 2006


#397: Reading source files in encodings other than Latin-1
------------------------------+---------------------------------------------
  Reporter:  nobody           |          Owner:  nobody 
      Type:  feature request  |         Status:  closed 
  Priority:  normal           |      Milestone:         
 Component:  Compiler         |        Version:  None   
  Severity:  minor            |     Resolution:  fixed  
  Keywords:                   |             Os:  Unknown
Difficulty:  Unknown          |   Architecture:  Unknown
------------------------------+---------------------------------------------
Changes (by simonmar):

  * architecture:  => Unknown
  * resolution:  None => fixed
  * difficulty:  => Unknown
  * component:  None => Compiler
  * status:  assigned => closed
  * os:  => Unknown

Old description:

> {{{
> 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
>

>

>
> }}}

New description:

 {{{
 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:

 Fixed: GHC 6.6 will accept UTF-8 source files.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/397>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list