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.
Hi
If source files are encoded in UTF-8 with BOM (byte order marker), the CCS5 editor displays them correctly but the TI compiler (v7.4.2) gives an 'unrecognized token' error.
If 'UTF-8 (without BOM)' encoding is used, the source file compiles correctly, but the editor does not display it correctly.
This same problem was discussed in 2009 for CCS3:
http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/99/p/7045/27350.aspx
Is there a solution for this problem yet?
Best regards
David
The TI compiler doesn't officially support anything but plain ASCII. It can accept some non-ASCII encodings in some cases, but mainly in comments.
Hi
It is a real problem for us that the TI toolset does not consistently handle UTF-8 encoded files. We share files with Japanese engineers who use the Kanji font. UTF-8 is an appropriate, modern way to share such files.
Please raise an improvement request to either:
1) Support UTF-8 with BOM (byte order marker) encoded files in the TI compiler (v7.4)
or
2) Support UTF-8 (without BOM) encoded files correctly in the CCS5 editor.
Best regards
David
I filed SDSCM00050290 in the SDOWP system to request that UTF-8 with BOM be supported in the compiler. Feel free to follow it with the SDOWP link below in my signature.
Thanks and regards,
-George