Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS and UTF8 encoding?

Hi,

is there a way to use UTF-8 encoded source code files in CCS? I use CCS3.3 SR11. Compiling an UTF8 source file results in a lot 'unrecognized token' errors...

Is there a way to use UTF-8 text files or do I have to use ISO-Latin1?

best regards,

Thomas

  • problem solved... The reason was that my UTF8 encoded source files used a BOM (byte order marker). It seems that this is not possible in CCS and also in the 6.1.8 compiler.

    UTF8 encoded source files without BOM can be compiled (I use build tools 6.1.8 - target DM648) so my problem is solved.

    The CCS3.3 editor does not display UTF8-characters correctly (for example characters like Ä, Ö or Ü used in german comments are displayed like ä or ö. This not a problem since I anyhow use an external editor.

    bye,

    Thomas

  • Just a quick tip here, which you are probably already be doing, but others may find interesting. CCS gives you the ability to use an external editor from within CCS, if you go to the Option -> Editor -> Properties... -> External Editor tab there are options to allow the use of an external editor, so when you open files within CCS they open in the editor of your choice.

    For example if you wanted to use notepad for some reason you could set it up like: