[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56788] parse error on command syntax with arg
From: |
Blbulyan David |
Subject: |
[Octave-bug-tracker] [bug #56788] parse error on command syntax with argument that starts with a non-ASCII character |
Date: |
Wed, 21 Aug 2019 14:31:20 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
Follow-up Comment #2, bug #56788 (project octave):
[comment #1 комментарий №1:]
> I can confirm this error on Debian. I suspect this is because Octave's
parser is not Unicode-aware.
>
> The syntax that lets you run a function without parentheses is called
"command syntax". It requires that the parser recognizes that a function name
is followed by whitespace and then by printable characters which are not
operators.
>
> If the first character is an ASCII character, then it works. For example
>
>
> $ mkdir Dокументы
> $ octave
> >> cd Dокументы
> >> pwd
> ans = /home/mike/Dокументы
>
>
> The same error occurs with any leading accented characters in Western
languages, for example
>
>
> $ mkdir ábc
> $ octave
> >> cd ábc
> parse error:
>
> syntax error
>
> >>> cd ábc
> ^
>
>
Will it ever be fixed?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56788>
_______________________________________________
Сообщение отправлено по Savannah
https://savannah.gnu.org/