I've been stumped on this problem for days and I have a feeling that it
is really simple...
I am trying to create a folder at the following location:
C:\documents and settings\[username]\application data\amaranth
The following code works great unless the username has a non-English
character in it (for example, Joe (with accent over the e)). In this case, when I try to use the
path, I get a "path not found" error, and it says that the path is:
C:\documents and settings\Jo\application data\amaranth
From what I can see, my code is striping out any non-English characters.
I'm not quite sure how to get these non-English characters to show up.
Here is my code:
Does anyone have any idea what I'm doing wrong?
is really simple...
I am trying to create a folder at the following location:
C:\documents and settings\[username]\application data\amaranth
The following code works great unless the username has a non-English
character in it (for example, Joe (with accent over the e)). In this case, when I try to use the
path, I get a "path not found" error, and it says that the path is:
C:\documents and settings\Jo\application data\amaranth
From what I can see, my code is striping out any non-English characters.
I'm not quite sure how to get these non-English characters to show up.
Here is my code:
Code:
path = " " * 256
path = ENV['APPDATA'].rstrip
$appPath = path + "\\Game"
Does anyone have any idea what I'm doing wrong?