racket / scribble

Other
197 stars 90 forks source link

scribble-html does not support chinese #322

Open leitingtod opened 2 years ago

leitingtod commented 2 years ago

If the name of the .scrbl file is Chinese, an error occurs when the scrible-html command is executed.

Console Output: Language: scribble/base, with debugging; memory limit: 128 MB. scribble: loading xref scribble: rendering . . ........\App\Racket\share\pkgs\net-lib\net\sendurl.rkt:98:0: shell-execute: failed system error: The system cannot find the specified file.。; win_err=2

capfredf commented 2 years ago

I don't have problems rendering a scribble file named in Chinese.

➤ cat 中文.scrbl
#lang scribble/base
hello, scribble
capfredf@HMSBeagle:~/tmp
➤ scribble 中文.scrbl
 [Output to 中文.html]

can you also post your file name? and on what system are you running scribble?

LiberalArtist commented 2 years ago

It looks like this error is from net/sendurl's use of shell-execute on Windows.