emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [PATCH] Add new keyword :coding for #+include directive


From: Nicolas Goaziou
Subject: Re: [O] [PATCH] Add new keyword :coding for #+include directive
Date: Sat, 19 May 2018 15:13:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hello,

address@hidden (Pierre Téchoueyres) writes:

> I reattach the examples, but note that  the cmd.txt or sh.txt extensions
> are only there to avoid my mail to be wiped out.

I must be missing something. When I install both patches, and I export
your example to, e.g., UTF-8, I get the following document, where coding
systems are not resolved.

--8<---------------cut here---------------start------------->8---
1 Pierre Téchoueyres
════════════════════

  bad
  ┌────
  │ @echo off
  │ 
  │ echo Hello Pierre T├Üchoueyres ├▒
  │ 
  │ rem Local Variables:
  │ rem coding: cp850-dos
  │ rem mode: bat
  │ rem End:
  └────
  or
  ┌────
  │ #!/bin/sh # -*- coding: iso-8859-15-unix -*-
  │ 
  │ echo "Hello Pierre Téchoueyres"
  │ 
  │ # Local Variables:
  │ # coding: iso-8859-15-unix
  │ # End:
  └────

  and good ?
  ┌────
  │ @echo off
  │ 
  │ echo Hello Pierre TÚchoueyres ñ
  │ 
  │ rem Local Variables:
  │ rem coding: cp850-dos
  │ rem mode: bat
  │ rem End:
  └────
  or
  ┌────
  │ #!/bin/sh # -*- coding: iso-8859-15-unix -*-
  │ 
  │ echo "Hello Pierre Téchoueyres"
  │ 
  │ # Local Variables:
  │ # coding: iso-8859-15-unix
  │ # End:
  └────
--8<---------------cut here---------------end--------------->8---

Regards,

-- 
Nicolas Goaziou                                                0x80A93738

reply via email to

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