[sdiy] Program with C code comments in Chinese.. need traductions...
Monty Brandenberg
mcbinc at panix.com
Sat Feb 8 08:25:51 CET 2020
On 1/30/2020 3:34 PM, Jean-Pierre Desrochers wrote:
> I could not figure out the comments associated to the code line.
>
> I remember I’ve been able in the past to translate these Chinese comments
>
> Using Microsoft Word, but cannot remember how I did it (??)
My guess is you need to change the text encoding or code page (windows)
of whatever program you are using to view the source code. I have
changed this reply to Chinese/Simplified and you should see the
characters now. MIME character set will probably be something like
"charset=CN-GB" but might get UTF'd by the time you read this.
>
> Here is the kind of code with comments I’m trying to trans late:
>
> void interrupt init1(void)
> {
> if(INTF==1) //判断中断标志位
> {
> b=0x3f; //中断后,强行将流水动作从头开始
> }
> INTF=0; //要手工清楚中断标志
>
And now you can translate "判断中断标志位" to "Judge Interrupt Flag"
or "Drapeau d'interruption du juge".
More information about the Synth-diy
mailing list