[Debian-Islamic-maintainers] Bug#755269: Bug#755269: you want %lc instead of %c
Adam Borowski
kilobyte at angband.pl
Thu Oct 30 16:01:36 GMT 2014
On Thu, Oct 30, 2014 at 09:31:33AM +0200, أحمد المحمودي wrote:
> On Thu, Oct 30, 2014 at 06:27:09AM +0100, Adam Borowski wrote:
> > Just replace %c with %lc, it will do the right thing both in ISO-8859-1 and
> > in Unicode locales. Not sure about other ancient charsets, but I can't
> > think of any reason to support them (including ISO-8859-1 for that matter)
> > in 2014 anymore.
> >
> > 0xB0 is ° in both ISO-8859-1 and in Unicode.
> ---end quoted text---
>
> Tried that, but it made the output worse.
Ah I see, the call to setlocale() was missing.
So here's a patch, this time tested ☺
--
// If you believe in so-called "intellectual property", please immediately
// cease using counterfeit alphabets. Instead, contact the nearest temple
// of Amon, whose priests will provide you with scribal services for all
// your writing needs, for Reasonable and Non-Discriminatory prices.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipraytime-unicode.patch
Type: text/x-diff
Size: 1904 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-islamic-maintainers/attachments/20141030/c0ae0f13/attachment-0005.patch>
More information about the Debian-islamic-maintainers
mailing list