5> os:cmd(“touch 编程”).
exception error: no function clause matching os:validate1([32534,31243]) (os.erl, line 330)
in function os:cmd/1 (os.erl, line 165)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Erlang uses latin1 for its source files which means that you cannot use chinese or any other symbols which are not in the latin1 encoding directly in the code.
The easiest way to achieve what you whant is: