RejectedSoftware Forums

Sign up

Russian characters in the user name for Windows

Hello.

I have a problem like this guy.

Changing the character to the console through the chcp is not helping.

How can I fix it?

Re: Russian characters in the user name for Windows

On Wed, 04 Jun 2014 23:00:20 GMT, Egor Smolyakov wrote:

Hello.

I have a problem like this guy.

Changing the character to the console through the chcp is not helping.

How can I fix it?

As far as I understand the problem, the only way to fix this is to fix DMD, as it simply doesn't seem to accept unicode characters in path names.

There are two possible workarounds:

  • Create a user with only ASCII characters (obviously)
  • Copy the packages in C:\Users\?\AppData\Roaming\dub\packages to C:\dub-packages\ or similar, and then run dub add-path C:\dub-packages. It should then pick up the packages there instead of in the user folder.