Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

What is wrong with characters during creating directory?  RSS feed

 
Mike Nowak
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I have got simple web app where users can create directories. Unfortunately using polish characters (i am from Poland) makes the directory looks something like �ódź.
The website is in UTF-8. Should i encode somehow the given name. If so, how to do this in simplest way ?
I am creating folders with dir.mkdir() (maybe this is an issue?).

Thanks in advance!
Mike
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!