help-source-highlight
[Top][All Lists]
Advanced

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

[Help-source-highlight] Unicode files ?


From: Lionel Fumery
Subject: [Help-source-highlight] Unicode files ?
Date: Mon, 29 Mar 2010 11:26:05 +0200
User-agent: Thunderbird 2.0.0.24 (Windows/20100228)

Hi,

I'm new with Source-Highlight, just began a week ago in fact. It works fine, but I have some understanding issues about Unicode files.

For example, create a simple text file, saved as unicode, with only the word "test". If you edit this text file with an hexadecimal editor, the content will be FF FE 74 00 65 00 73 00 74 00. In this sequence, FF FE  is the unicode marker.

When highlighting this file :
    source-highlight test.txt --line-number

the resulting HTML file is incorrect : 
    <pre><tt><font color="#000000">1:</font> ��t�e�s�t�</tt></pre>

As you see, the Unicode behavior is just missing.


Could you please explain me if this is supported by Source-Highlight, and how can I enable it ?


Thank you a lot for your help!

Lionel

reply via email to

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