Subject: Re: bug#50266: 28.0.50; expand-file-name broken with non ASCII characters

From: Eli Zaretskii <[email-masked]>
Date: Mon, 30 Aug 2021 15:27:50 +0300

> From: Joakim Hårsman <[email-masked]>
> Date: Mon, 30 Aug 2021 14:08:29 +0200
> 
> Bug manifests on Windows 10 ( I haven't tested other versions). Before starting emacs:
> 
> C:\Users\JoakimHårsman>chdir
> C:\Users\JoakimHårsman
> 
> C:\Users\JoakimHårsman>echo %HOME%
> C:\users\JoakimHårsman
> 
> C:\Users\JoakimHårsman> runemacs -Q
> 
> Notice that the current directory which is the same as the HOME
> environment, contains the letter å. After starting emacs with runemacs
> -Q:
> 
> (expand-file-name default-directory)
> 
> returns
> 
> "c:/users/JoakimH  rsman/"
> 
> or alternatively
> 
> "c:/users/JoakimH\303\245rsman/"

Is this limited to starting via runemacs, or starting "emacs -Q"
produces the same problem?

Thanks.