加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

perl6 – 如果路径包含非拉丁字符,则会出错

发布时间:2020-12-15 23:36:50 所属栏目:大数据 来源:网络整理
导读:操作系统: Windows 10 Perl6:这是基于MoarVM版本2018.04.1构建的Rakudo Star版本2018.04.1 实现Perl 6.c. 例: perl6 C:UsersquestDesktopexample.pl# sucessperl6 "C:UsersquestDesktopяпPerl 6web-scrapingrequest.pl"# Could not open C:
操作系统: Windows 10
Perl6:这是基于MoarVM版本2018.04.1构建的Rakudo Star版本2018.04.1
实现Perl 6.c.

例:

perl6 C:UsersquestDesktopexample.pl
# sucess

perl6 "C:UsersquestDesktopяпPerl 6web-scrapingrequest.pl"
# Could not open C:UsersquestDesktop╤П╨┐Perl 6web-scrapingrequest.pl. Failed to open file C:UsersquestDesktop╤П╨┐Perl 6web-scrapingrequest.pl: No such file or directory

Python 3示例:

py "C:UsersquestDesktopяпpy3timetest.py"
# sucess

解决方法

正如您所知,Windows 10支持UTF-8用于非Unicode(即非UTF-16)应用程序( according to Wikipedia,此功能是在2018年4月发布的build 17035中添加的,并且仍标记为’beta’).这使得Rakudo感到高兴.

但是,在Python设法这样做时,不尊重你的语言环境似乎仍然值得bug report.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读