This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug localedata/22387] Replace unicode sequences <Uxxxx> for characters inside the ASCII printable range
- From: "schwab at linux-m68k dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 15 Nov 2017 10:36:14 +0000
- Subject: [Bug localedata/22387] Replace unicode sequences <Uxxxx> for characters inside the ASCII printable range
- Auto-submitted: auto-generated
- References: <bug-22387-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=22387
--- Comment #30 from Andreas Schwab <schwab@linux-m68k.org> ---
> Yes, I also found the <Uxxxx> annoying when browsing the files, it
> makes it much harder to spot errors.
Try this:
(font-lock-add-keywords nil
'(("<U\\(....\\)>"
(0 (progn (compose-region (match-beginning 0) (match-end 0)
(string-to-number (match-string 1) 16)))))))
--
You are receiving this mail because:
You are on the CC list for the bug.