[Top][All Lists]

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

[O] DITAA and Unicode characters [babel]

From: Juan Pechiar
Subject: [O] DITAA and Unicode characters [babel]
Date: Sun, 24 Apr 2011 20:38:45 -0300
User-agent: Mutt/1.5.20 (2009-06-14)


Out of the box, ob-ditaa does not work with non-ascii characters.

I looked into the problem in order to answer a user request on
StackOverflow (yes, there are org-mode questions posted there instead
of here!).


In order for ditaa to accept UTF-8 characters in the input file, it
must be called with the corresponding property setting:

   java -Dfile.encoding=UTF-8 -jar path/to/ditaa.jar ...

Attached is a dirty patch for hard-coding this property setting.

I don't know what the proper way of setting this property should be:

 - somehow setting it system-wide (any Java guru out there?).

 - or adding a customization to ob-ditaa.el for this property

 - or adding magic to ob-ditaa so that the same encoding of the buffer
   gets set to this Java property

I can help with the implementation if given some feedback on the above


Attachment: ob-ditaa.el.diff
Description: Text Data

reply via email to

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