RE: [Haskell] non-ASCII characters in Haddock documentation

2004-02-17 Thread Graham Klyne
At 10:35 17/02/04 +, Simon Marlow wrote: We didn't choose Latin-1 over UTF-8: the current situation just reflects the fact that we haven't implemented UTF-8 yet. It's not trivial to expand GHC's current Alex specification to handle the whole Unicode character set. See this message for some mu

RE: [Haskell] non-ASCII characters in Haddock documentation

2004-02-17 Thread Simon Marlow
> >It may seem so to western europeans, but others may differ. > >A case could be made for UTF-8. > > I tend to agree. Further, the choice of defaulting to > Latin-1 seems a > strange one when much of the rest of the world (well, the > networking world) > seems to be moving towards more uni

Re: [Haskell] non-ASCII characters in Haddock documentation

2004-02-16 Thread Graham Klyne
At 11:29 16/02/04 +, Ross Paterson wrote: On Mon, Feb 16, 2004 at 10:20:30AM -, Simon Marlow wrote: ... > It shouldn't be too hard to fix this, at least for Latin-1 (full > Unicode would be somewhat harder). I'll add it to the TODO list. While Haskell's source charset is specified as Unico

RE: [Haskell] non-ASCII characters in Haddock documentation

2004-02-16 Thread Simon Marlow
> On Mon, Feb 16, 2004 at 10:20:30AM -, Simon Marlow wrote: > > Wolfgang Jeltsch <[EMAIL PROTECTED]> writes: > > > I meant non-ASCII characters in source code comments like this: > > > {-| > > > The execution time of this function is /n³/. > > > -} > > > Currently, Haddock see

Re: [Haskell] non-ASCII characters in Haddock documentation

2004-02-16 Thread Ross Paterson
On Mon, Feb 16, 2004 at 12:51:06PM +0100, Ketil Malde wrote: > Ross Paterson <[EMAIL PROTECTED]> writes: > > While Haskell's source charset is specified as Unicode, Haskell source > > files don't specify the byte encoding they use, so any source file using > > non-ASCII characters isn't portable.

Re: [Haskell] non-ASCII characters in Haddock documentation

2004-02-16 Thread Ketil Malde
Ross Paterson <[EMAIL PROTECTED]> writes: >> It shouldn't be too hard to fix this, at least for Latin-1 (full >> Unicode would be somewhat harder). I'll add it to the TODO list. > While Haskell's source charset is specified as Unicode, Haskell source > files don't specify the byte encoding they

Re: [Haskell] non-ASCII characters in Haddock documentation

2004-02-16 Thread Ross Paterson
On Mon, Feb 16, 2004 at 10:20:30AM -, Simon Marlow wrote: > Wolfgang Jeltsch <[EMAIL PROTECTED]> writes: > > I meant non-ASCII characters in source code comments like this: > > {-| > > The execution time of this function is /n³/. > > -} > > Currently, Haddock seems to copy the b

RE: [Haskell] non-ASCII characters in Haddock documentation

2004-02-16 Thread Simon Marlow
> Am Freitag, 13. Februar 2004 01:23 schrieben Sie: > > wolfgang: > > > Hello, > > > > > > how do I insert non-ASCII and maybe even non-Latin-1 characters in > > > Haddock documentation? > > > > > > Wolfgang > > > > Looks like it might be difficult. The haddock lexer src has: > > > > $alp

Re: [Haskell] non-ASCII characters in Haddock documentation

2004-02-13 Thread Wolfgang Jeltsch
Am Freitag, 13. Februar 2004 01:23 schrieben Sie: > wolfgang: > > Hello, > > > > how do I insert non-ASCII and maybe even non-Latin-1 characters in > > Haddock documentation? > > > > Wolfgang > > Looks like it might be difficult. The haddock lexer src has: > > $alphanum = [A-Za-z0-9] > > So

Re: [Haskell] non-ASCII characters in Haddock documentation

2004-02-12 Thread Donald Bruce Stewart
wolfgang: > Hello, > > how do I insert non-ASCII and maybe even non-Latin-1 characters in Haddock > documentation? > > Wolfgang Looks like it might be difficult. The haddock lexer src has: $alphanum = [A-Za-z0-9] So, non-ascii might not be lexed. -- Don __

[Haskell] non-ASCII characters in Haddock documentation

2004-02-12 Thread Wolfgang Jeltsch
Hello, how do I insert non-ASCII and maybe even non-Latin-1 characters in Haddock documentation? Wolfgang ___ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell