Hello,

I am trying to write to a file with the japanese name 青山学院大学相模原キャンパス
The relative path I am passing to the methods is
"output\url\c\青山学院大学相模原キャンパス"

I used two methods
s = StreamWriter(filenamenew, True, Encoding.UTF8)
and
outputfile = codecs.open(filenamenew, "w",'utf_8_sig')

which both throwed the following exception:
Unhandled Exception: System.ArgumentException: Illegal characters in path.

Thanks very much for advance.
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to