Re: [GHC] #5518: Some unicode symbols are not allow in literal characters or strings

2011-10-01 Thread GHC
#5518: Some unicode symbols are not allow in literal characters or strings
---+
  Reporter:  ertai |  Owner:
  Type:  bug   | Status:  closed
  Priority:  normal|  Milestone:
 Component:  Compiler  |Version:  7.0.3 
Resolution:  fixed |   Keywords:
  Testcase:|  Blockedby:
Difficulty:| Os:  Linux 
  Blocking:|   Architecture:  x86_64 (amd64)
   Failure:  None/Unknown  |  
---+
Changes (by igloo):

  * status:  infoneeded => closed
  * resolution:  => fixed


Comment:

 Yup, I can also reproduce it with 7.0.2 but not 7.2.1.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #5518: Some unicode symbols are not allow in literal characters or strings

2011-10-01 Thread GHC
#5518: Some unicode symbols are not allow in literal characters or strings
---+
Reporter:  ertai   |Owner:  
Type:  bug |   Status:  infoneeded  
Priority:  normal  |Milestone:  
   Component:  Compiler|  Version:  7.0.3   
Keywords:  | Testcase:  
   Blockedby:  |   Difficulty:  
  Os:  Linux   | Blocking:  
Architecture:  x86_64 (amd64)  |  Failure:  None/Unknown
---+

Comment(by ertai):

 Ok, thank you.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #5518: Some unicode symbols are not allow in literal characters or strings

2011-09-30 Thread GHC
#5518: Some unicode symbols are not allow in literal characters or strings
---+
Reporter:  ertai   |Owner:  
Type:  bug |   Status:  infoneeded  
Priority:  normal  |Milestone:  
   Component:  Compiler|  Version:  7.0.3   
Keywords:  | Testcase:  
   Blockedby:  |   Difficulty:  
  Os:  Linux   | Blocking:  
Architecture:  x86_64 (amd64)  |  Failure:  None/Unknown
---+

Comment(by judahj):

 I could reproduce the issue with ghc-7.0.3 and ghc-7.0.4.

 I looked into this since it seemed to be affecting Haskeline too.  The
 cause (for both problems) was that older versions of GHC support a older
 version of Unicode:

 {{{
 $ ghc-7.0.3 -e "Data.Char.generalCategory '\8342'"
 NotAssigned
 $ ghc-7.0.4 -e "Data.Char.generalCategory '\8342'"
 NotAssigned
 $ ghc-7.2.1 -e "Data.Char.generalCategory '\8342'"
 ModifierLetter
 }}}

 So if you want to use those characters, you will probably need to upgrade
 to ghc-7.2.1.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #5518: Some unicode symbols are not allow in literal characters or strings

2011-09-30 Thread GHC
#5518: Some unicode symbols are not allow in literal characters or strings
---+
Reporter:  ertai   |Owner:  
Type:  bug |   Status:  infoneeded  
Priority:  normal  |Milestone:  
   Component:  Compiler|  Version:  7.0.3   
Keywords:  | Testcase:  
   Blockedby:  |   Difficulty:  
  Os:  Linux   | Blocking:  
Architecture:  x86_64 (amd64)  |  Failure:  None/Unknown
---+
Changes (by ertai):

  * version:  7.2.1 => 7.0.3


Comment:

 I reproduce the same file than igloo and I have the same output for
 hexdump.

 However ghc -c q.hs yields:

 q.hs:2:17:
 lexical error in string/character literal at character '\8342'

 (the GHC version I use is actually 7.0.3, I updated the ticket info)

 echo $TERM
 rxvt-unicode-256color

 echo $LANG
 en_US.UTF-8

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #5518: Some unicode symbols are not allow in literal characters or strings

2011-09-29 Thread GHC
#5518: Some unicode symbols are not allow in literal characters or strings
---+
Reporter:  ertai   |Owner:  
Type:  bug |   Status:  infoneeded  
Priority:  normal  |Milestone:  
   Component:  Compiler|  Version:  7.2.1   
Keywords:  | Testcase:  
   Blockedby:  |   Difficulty:  
  Os:  Linux   | Blocking:  
Architecture:  x86_64 (amd64)  |  Failure:  None/Unknown
---+
Changes (by igloo):

  * status:  new => infoneeded


Comment:

 It works for me:
 {{{
 $ hexdump -C q.hs
   0a 6d 61 69 6e 20 3d 20  70 75 74 43 68 61 72 20  |.main =
 putChar |
 0010  27 e2 82 96 27 0a 0a  |'...'..|
 0017
 $ ghc -c q.hs
 $
 }}}

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #5518: Some unicode symbols are not allow in literal characters or strings

2011-09-28 Thread GHC
#5518: Some unicode symbols are not allow in literal characters or strings
---+
Reporter:  ertai   |   Owner:  
Type:  bug |  Status:  new 
Priority:  normal  |   Component:  Compiler
 Version:  7.2.1   |Keywords:  
Testcase:  |   Blockedby:  
  Os:  Linux   |Blocking:  
Architecture:  x86_64 (amd64)  | Failure:  None/Unknown
---+

Comment(by judahj):

 GHC requires that source files be encoded in UTF-8.  Can you please check
 whether that's the case for your program?  If you're not sure or if that
 didn't fix the problem, can you please attach the bad program to this
 ticket?

 For ghci: What terminal are you using (e.g. xterm, urxvt, etc.)?  Also,
 please let us know the results of running these commands in that terminal:
 {{{
 echo $TERM
 echo $LANG
 }}}

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs