emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] babel: ob-C with Visual C++ and compilation-mode


From: Thierry Banel
Subject: Re: [O] babel: ob-C with Visual C++ and compilation-mode
Date: Thu, 21 Aug 2014 21:48:51 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

Le 20/08/2014 22:40, Ernesto Durante a écrit :

Another question if you allow me ?
Looking at code in Ob-C you transform a table/list variable in a C array
of char*. Should it not be std::wstring ? some unicode string ?

Best Ernesto

Absolutely!
Unicode is the way to go.
Of course, this should be handled carefully,
as the source org file is not guarantied to be in utf-8.

You may want to give it a try an provide a patch for that.
3 files are involved:
- lisp/ob-C.el (you know this one)
- testing/lisp/test-ob-C.el (to launch unit tests)
- testing/examples/ob-C-test.org (the unit tests themselves)
- worg/org-contrib/babel/languages/ob-doc-C.org (the 4th of the 3 files).

Have fun
Thierry


reply via email to

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