From: Thorsten B. <tho...@do...> - 2014-04-02 20:26:45
|
Hai Alan! > As far as emacs is concerned it normally (at least on Linux) just > accepts strange characters without telling you about them. For > example, you could have a non-ascii UTF-8 version of some character > that would display identically in emacs to the ascii version, but > which the command-line version of cmake would not understand. You may > also have similar problems with notepad detecting strange characters. Investigating this further, it was the hyphen character (i.e. the "-" introducing any option on the command line) that got scrambled. Instead of being 0x2D (as it is if you type the command) it got converted to 0x96 (which looks just the same in any editor). > Installing MSYS should provide you access to od.exe, but I assume that > is overkill and there are also native Windows alternatives to od for > providing binary/octal/hexadecimal dumps of text in case you wanted to > investigate further what strange characters were in the cut and pasted > text. I don't know, whether there is a native Windows command to show hex dumps. I just pasted the text into notepad and emacs and saved each into a file and the used Beyond Compares hexadecimal mode to compare both of them. Notepad saved it with 0x96, whereas emacs indeed silently converted it to 0x2D! -- Gruß, Thorsten |