[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Stephane Glondu <Stephane.Glondu@c...> |
| Subject: | Re: [Caml-list] Ill-formed "french" character literal. |
Francois Colonna wrote: > I have a problem with french accents : > > camlc -c lexical_analyzer.ml > > File "lexical_analyzer.ml", line 48, characters 34-38: > > [< '(`A`..`Z` | `a`..`z` | `é` | `è` | `_` as c ) >] -> > > ^^^^ > Ill-formed character literal. > > What can I do ? Are you sure the problem comes with French accents? Also keep in mind that in UTF-8, 'é' is two bytes, so it is not a valid character literal. -- Stephane Glondu