On 17 Mar 2005 at 01:47 PST, fouvry wrote: > ,-- On Wed, 16 Mar 2005 08:59:58 -0800, Ted Stern wrote: > | > [...] > | > | mule-utf-8 did not work for me. I got the same message when trying to save, > | but this time it said that the file was in mule-utf-8-unix. > > That's not a very big difference: only affects line breaks are > affected. Edit the top line of the file so that it has > "coding-system: mule-utf-8-unix", do M-x set-buffer-file-coding-system > RET mule-utf-8-unix, and save the file. All should be well now. > > (It's strange though that Emacs makes a fuss about the line breaks: it > seems to suggest that it did not find the correct encoding > automatically, even though it knows which one should be used.) > > | When I changed the buffer coding system and the top line raw-text, I didn't > | get an error. This will probably bite me at some point, but it gets rid of > | the errors for now. > > Indeed: raw-text cannot handle multiple-byte characters properly (as > far as I understand, it won't do anything bad to them, it'll just show > them byte by byte). Which is no problem if you haven't got any > two-or-more-byte characters, of course. > > Frederik
You're right, of course, and I should have tried it. mule-utf-8-unix does indeed work just fine. Ted -- Ted Stern Applications Group Cray Inc. office: 206-701-2182 411 First Avenue South, Suite 600 cell: 206-383-1049 Seattle, WA 98104-2860 FAX: 206-701-2500 Frango ut patefaciam -- I break so that I may reveal (The Paleontological Society motto, equally apropos for debugging) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/