今天在敲代码的时候,发现控制台有java.io.IOException: open failed: EINVAL (Invalid argument)输出,而且原本要创建的文件也没有创建成功,后来百度了一把,发现是在android中,创建文件时,文件名中不能包含“:”冒号,备忘记录一下。
func QueryUnescape func QueryUnescape (s string ) ( string , error ) QueryUnescape does the inverse transformation of QueryEscape, converting %AB into the byte 0xAB and '+' into ' ' (space). It returns an error if any % is not followed by two hexadecimal digits. func QueryUnescape func QueryUnescape (s string ) ( string , error ) QueryUnescape does the inverse transformation of QueryEscape, converting %AB into the byte 0xAB and '+' into ' ' (space). It returns an error if any % is not followed by two hexadecimal digits.
评论
发表评论