emacs-pretest-bug
[Top][All Lists]
Advanced

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

RE: please use ?\u2014 instead of the unicode character inbuff-menu.el


From: Drew Adams
Subject: RE: please use ?\u2014 instead of the unicode character inbuff-menu.el
Date: Sun, 18 Feb 2007 14:46:28 -0800

> > As I mentioned, I first ran into this problem on the Emacs Wiki
> > (with the same em-dash character, in a library that is derived
> > from buff-menu.el). Simply uploading or downloading the code on
> > the Wiki changes the characters (in the same way, BTW). Here,
> > the downloading user has no choice. If the
> > normal page-edit means of uploading is used, then the
> > characters are messed up in the file on the wiki, so regardless
> > of how you download it, you get garbage. AFAIK, this has
> > nothing to do with the browser.
>
> I wonder if this has something to do with the mime codes? I do not know
> anything about it, but could it be that the web server changes something
> in the output?

Dunno. Perhaps it has to do with the scripts used on the Wiki. The problem
here is more general than Unicode, in fact. For example, it also strips out
control characters (e.g. ^L) inserted in the code. In one library, for
instance, I use escape sequences instead of embedded ^G and ^J characters.
However, the loss of ^L page separators is regrettable.

You can upload a file to the wiki using the alternative method, instead of
editing a wiki page, and in that case there is no problem. But in that case
there is also no syntactic highlighting of the code on the page.





reply via email to

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