[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 10:32:04 +0800 |
On Tue, 2012-11-27 at 23:44 +0100, Ludovic Courtès wrote:
> Hi!
>
> nalaginrut <address@hidden> skribis:
>
> > 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?
>
Thanks for reply!
It's fine in ruby-1.9 and python2, but python3 failed.
IIRC, Andy told me that guile2/python3 use "character string" rather
than "byte string", so there's different from others.
Now my question is, should we have octal-escapes? Is is impossible or
not implemented yet?
Thanks!
> Thanks,
> Ludo’.