Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Linux 32-bit: Rebol cannot run a script fthat has UTF-8 chars in its filename or path #48

@Esgorhannoth

Description

@Esgorhannoth

When I try to run a script that contains a UTF-8 character(s) in its filename or path, rebol fails with this error messages:

Path: /home/esko/tmp/sandbox/今日は/ascii

$ rebl ~/tmp/sandbox/今日は/ascii/whatdir.r3 
** Script error: invalid argument: %/home/esko/tmp/sandbox/仿¥ã¯/ascii/
** Where: change-dir either -apply-
** Near: change-dir first script-path either exists? second script-pa...
>>

Filename: /home/esko/tmp/sandbox/проба.r3

$ rebl ~/tmp/sandbox/проба.r3
** access error: script not found: %sandbox/пÑоба.r3
>>
$ uname -a
Linux hal 4.19.0-5-686 #1 SMP Debian 4.19.37-1 (2019-05-05) i686 GNU/Linux

P.S. A temporary workaround is using --do:

$ rebl --do 'do %sandbox/проба.r3'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions