Re:A new release for GNU Octave
by cbolton on Wednesday December 16, 2020 @01:11PM
(#25445996)
This isn't related to Matlab compatibility... Matlab uses UTF-16 internally but recent versions work with UTF-8 input seamlessly (converting automatically). Octave uses UTF-8 on Linux which works well, but last time I checked has broken Unicode support on Windows.
[ Parent
| on HN ]
Re:A new release for GNU Octave
by BlueTemplar on Thursday December 17, 2020 @05:48AM
(#25454400)
> Octave uses UTF-8 on Linux which works well
It doesn't :
On Linux :
- Can't use Unicode filenames
- Can't use Unicode identifiers
(- Actually, you can use Unicode in comments, not sure why I wrote that...)
Octave on Linux has no problem with UTF-8 filenames, it can read from and write to such files without problem.
It's true you cannot use non-ASCII UTF-8 names for script and functions, since in that case the file name is also the command/function name. But that's a statement about valid identifiers, not supported filenames. Every language I know of has restrictions on identifiers.