Authors.c Won't Compile

Robert Shearman R.J.Shearman at
Fri Feb 27 06:07:30 CST 2004

Hans Leidekker wrote:
> On Friday 27 February 2004 03:42, Robert Shearman wrote:
> > I can't compile authors.c due to some encoding issue with sed. I can
> > generate the authors.c file fine on the command line, but the same
> > command in the Makefile won't generate compilable code due to it
> > terminating the string constant before a UTF-8 character.
> That's strange, this issue should be fixed in CVS. What does it say
> when you do this:

This is with latest CVS, although I hadn't updated for a week so I don't know when the issue was introduced.

> [hans at mirzam shell32]$ file authors.c
> authors.c: ISO-8859 C program text
> How are your $LANG and $LC_ALL variables set?

$ file authors.c
authors.c: ISO-8859 C program text

$ echo $LANG

$ echo $LC_ALL

$ LC_ALL=C sed -e '1,2d' -e 's/\(.*\)/  \"\1\",/' ../../AUTHORS | grep Ove
  "Ove K\x{FFFF}ven",

$ sed -e '1,2d' -e 's/\(.*\)/  \"\1\",/' ../../AUTHORS | grep Ove
  "Ove K",\x{FFFF}ven

>  -Hans

More information about the wine-devel mailing list