emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: org-mode list <emacs-orgmode@gnu.org>
Subject: Re: HTML export: how to delimit escaped HTML entity?
Date: Thu, 28 Aug 2008 02:00:05 +0200	[thread overview]
Message-ID: <48B5EA85.1090401@gmx.de> (raw)
In-Reply-To: <48B5D733.60008@mtheo.net>


What's in your XHTML-Head section?

How does your Content-Type line look? That is,

<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>

Change the 'utf-8' to what ever encoding your exported HTML files have.
You can detect the real encoding of the files, by visiting souch an
exported HTML file with emacs.

In the modeline on the left, you can see some indicators, the second
of which shows if the encoding is multibyte ('U') or singlebyte ('1').
Click it to see a full description of the files encoding.



|
|
|
|
|_________________________________________
|-U--
   ^
   |
Click








Some more on this:

The world is big. Consider to change your System to use UTF-8
everywhere.

This is what I do here. Every file (and every filename) is UTF-8
on my system and thus things like

ö ß á Á € ø ·

folder
   │
   ├> file
   └> another_file


are always displayed correct. So is the XHTML export of my Org-files.
The characters are not changed to their html entities at all.

Switch to UTF-8 and get rid of all your local problems :-)

The easiest way to do this is just to install a modern GNU/Linux
distribution (use Debian). Just 1 hour and your done, once for all.


Regards,

  - Sebastian


mtheo wrote:
> This is probably bonehead simple, but so far that bone seems to be 
> broken here.
> 
> The entities in org-html-entities work fine for me as long as followed 
> by a space (or another \-escaped entity), but I can't seem to discover 
> how they're delimited within a word.
> 
> E.g.
>     "Ren\eacute " produces  "Ren&eacute; "
> 
> which is just fine; but I've failed to find a way to get the correct
> 
>     "&Aacute;stor"
> 
> out of any combination of "\Aacute" and "stor".
> 
>     "\Aacutestor" -> "\Aacutestor"
>     "\Aacute stor" (naturally) -> "&Aacute; stor"
> 
> and nothing I've tried by way of analogy with shells (e.g. 
> "\{Aacute}stor") or other syntax ("\Aacute\stor"? "\Aacute$stor"? etc.) 
> has produced anything but the same string in the generated code.
> 
> I'm sure my ignorance of {insert bonehead lacuna here} is showing, but 
> does anyone know how to enter poor old Sr Piazzolla's given name into an 
> org file so that it will export?
> 
> Thanks -- and repeated & continual thanks to Carsten and all other 
> generous contributors.
> 
> Mark
> 
> 
> GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
> org-version 6.06b
> 
> 

  reply	other threads:[~2008-08-27 23:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-27 22:37 HTML export: how to delimit escaped HTML entity? mtheo
2008-08-28  0:00 ` Sebastian Rose [this message]
2008-08-28 14:46 ` William Henney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48B5EA85.1090401@gmx.de \
    --to=sebastian_rose@gmx.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).