Hi, if I use (insert (string-make-multibyte "Umlaut: ü")) it now works with Emacs 23.2 (Windows). However, the question remains why "string-make-multibyte" is apparently not required when using Aquamacs 2.0 (Emacs 23.2) and with Emacs 23.1 (Ubuntu). The Windows version assumes a different encoding for the insert text? Warm regards, Stefan On 07.06.2010, at 10:30, Stefan Vollmar wrote: > Hi, > > I am using an elisp insert statement to put text into a newly generated buffer, this text contains a German Umlaut. The text is displayed correctly in my .emacs-file, I also have a (prefer-coding-system 'utf-8) statement. > > With Emacs 23.2 (Windows) the Umlaut is not displayed correctly (in the newly generated buffer), with Aquamacs 2.0 it works just fine. With both Emacsen, the .emacs-file yields "utf-8-unix" in the modeline and "utf-8" for the newly created buffer. > > Is this a bug or is it a coincidence that this works in Aquamacs? > > Many thanks in advance. > Warm regards, > Stefan -- Dr. Stefan Vollmar, Dipl.-Phys. Head of IT group Max-Planck-Institut für neurologische Forschung Gleuelerstr. 50, 50931 Köln, Germany Tel.: +49-221-4726-213 FAX +49-221-4726-298 Tel.: +49-221-478-5713 Mobile: 0160-93874279 Email: vollmar@nf.mpg.de http://www.nf.mpg.de