[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13008: Invalid oct number convertion in string
From: |
nalaginrut |
Subject: |
bug#13008: Invalid oct number convertion in string |
Date: |
Wed, 28 Nov 2012 13:58:51 +0800 |
On Wed, 2012-11-28 at 11:34 +0800, Daniel Hartwig wrote:
> On 28 November 2012 10:32, nalaginrut <address@hidden> wrote:
> >> > scheme@(guile-user)> (format #t "\033[32;31mhello\033[5m")
> >>
> >> Here, \0 is taken to mean #\nul, and then there are two #\3.
> >>
> >> IOW, there is no such syntax for octal escapes (info "(guile) String
> >> Syntax").
> >>
> >> What made you think otherwise?
> >>
>
> > Now my question is, should we have octal-escapes? Is is impossible or
> > not implemented yet?
>
> You can use two or four digit hex codes, “\xHH” and “\uHHHH”. Is it
> useful to support octal on top of that?
Yes, I can use hex instead.
But, why we couldn't provide octal? Or it needs to be done?