[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#4848: 23.1.50; \u and \x in string

From: Jason Rumney
Subject: bug#4848: 23.1.50; \u and \x in string
Date: Mon, 02 Nov 2009 15:33:49 +0800
User-agent: Thunderbird (Windows/20090812)

Stefan Monnier wrote:

"\ue1" gives the error "Non-hex digit used for Unicode escape".
Why doesn't it work to give the Unicode character á?

I think you mean \u00e1

I think the error message means "Insufficient hex digits used for Unicode escape".

Note that \xe1 does not work for this any more.

Indeed, this refers to the byte 225 rather than to the char 225.
\x00e1 also works like \u00e1.

That is definitely confusing.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]