[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] Opening emacs from bat file fails on path with unicode chara

From: Eli Zaretskii
Subject: Re: [h-e-w] Opening emacs from bat file fails on path with unicode characters
Date: Sat, 22 Feb 2014 16:47:30 +0200

> From: Brian Elmegaard <address@hidden>
> Date: Sat, 22 Feb 2014 14:48:22 +0100
> I am trying to automate emacs opening with a batfile.
> This
> "..\emacs-24.3\bin\runemacs.exe" -l ../emacs/default.el 
> --find-file=../simul/hello/hello.dna
> if the path to emacs-24.3 is only ascii characters.
> If the path has unicode characters windows closes emacs with "A fatal 
> error has occured". Is there a way to avoid this?

Are those Unicode characters from your system codepage?  If not, then
Emacs 24.3 and older doesn't support file names with Unicode
characters that aren't part of the system codepage.  To work around
this, you can use the short 8+3 alias of the file name, you can show
these aliases with the "dir /x" command.

Also note that if you are typing the file name at the cmd prompt, then
you are actually using a different codepage (the so-called "OEM
codepage"), which might not support some of the characters that are
supported by the system codepage.

Emacs 24.4, to be released later this year, will support the entire
range of Unicode characters, even if they are outside of the system
codepage, but not if they are specified on the command line.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]