<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msochpdefault, li.msochpdefault, div.msochpdefault
{mso-style-name:msochpdefault;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:10.0pt;
font-family:"Times New Roman","serif";}
span.emailstyle17
{mso-style-name:emailstyle17;
font-family:"Calibri","sans-serif";
color:windowtext;
font-weight:normal;
font-style:normal;}
span.emailstyle18
{mso-style-name:emailstyle18;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.emailstyle19
{mso-style-name:emailstyle19;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=FR-CA link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Very nice offer !<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Thank You !<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>JP<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=FR style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>De :</span></b><span lang=FR style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Synth-diy [mailto:synth-diy-bounces@synth-diy.org] <b>De la part de</b> Alan Zhu<br><b>Envoyé :</b> 8 février 2020 13:18<br><b>À :</b> Jean-Pierre Desrochers; synth-diy@synth-diy.org<br><b>Objet :</b> Re: [sdiy] Program with C code comments in Chinese.. need traductions... SOLVED !<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><div><div><p class=MsoNormal>Hi,<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Glad you figured out how to display chinese characters. Chinese native speaker here so if you got confused by the auto translator just post it and I can help you with that. <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Cheers,<o:p></o:p></p></div><div><p class=MsoNormal>Alan<o:p></o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p></div></div><div><p class=MsoNormal> <o:p></o:p></p></div><div class=MsoNormal align=center style='text-align:center'><hr size=2 width="98%" align=center></div><div id=divRplyFwdMsg><p class=MsoNormal><b>From:</b> Synth-diy <synth-diy-bounces@synth-diy.org> on behalf of Jean-Pierre Desrochers <sixcordes@oricom.ca><br><b>Sent:</b> Friday, February 7, 2020 9:48 PM<br><b>To:</b> synth-diy@synth-diy.org<br><b>Subject:</b> Re: [sdiy] Program with C code comments in Chinese.. need traductions... SOLVED ! <o:p></o:p></p><div><p class=MsoNormal> <o:p></o:p></p></div></div><div><p class=MsoNormal><span lang=EN-CA style='color:#1F497D'>I finally found a way to translate these Chinese comments..</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='color:#1F497D'>I had to install the Chinese language in my PC and use it</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='color:#1F497D'>As a template page to insert it my Chinese comments..</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='color:#1F497D'>The characters then change to recognizable ‘Chinese’ types.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='color:#1F497D'>I can then put them in translators..</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='color:#1F497D'>Sorry for interrupting the list.. </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='color:#1F497D'> </span><o:p></o:p></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=FR style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>De :</span></b><span lang=FR style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Jean-Pierre Desrochers [mailto:sixcordes@oricom.ca] <br><b>Envoyé :</b> 30 janvier 2020 15:34<br><b>À :</b> 'Synth-diy@synth-diy.org'<br><b>Objet :</b> Program with C code comments in Chinese.. need traductions...</span><o:p></o:p></p></div></div><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal><span lang=EN-CA>Hi all,</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA>Years ago I bought a very nice development board</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA>For Microchip controllers. Sold by a Chinese company.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA>This dev board came up with lots of HiTech C code examples.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA>The problem is that all the program comments were in Chinese (!!)<br>So whenever I try to understand some specific code lines</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA>I could not figure out the comments associated to the code line.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA>I remember I’ve been able in the past to translate these Chinese comments</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA>Using Microsoft Word, but cannot remember how I did it (??)</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA>Here is the kind of code with comments I’m trying to trans late:</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'>void interrupt init1(void)</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'>{</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'> if(INTF==1) //ÅжÏÖжϱê־λ</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'> { </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'> b=0x3f; //ÖжϺó£¬Ç¿Ðн«Á÷Ë®¶¯×÷´ÓÍ·¿ªÊ¼</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'> } </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'> INTF=0; //ÒªÊÖ¹¤Çå³þÖжϱêÖ¾</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'>}</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'>void main(void)</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'>{ </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'> TRISB=0B11111111; //RBÉèÖÃΪÊä³öÈë</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'> TRISD=0B00000000; //RDÉèÖÃΪÊä³ö</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'> PORTD=0B00000000; //ÃðµôV0-V7</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'> RBIE=0; //RB¿Úµçƽ±ä»¯ÖжϽûÖ¹</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'> INTEDG=0; //ÉèÖÃϽµÑØ´¥·¢ÖÐ¶Ï </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'> INTE=1; //ʹÄÜÍⲿÖжÏ</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'> GIE=1; //¿ª·ÅÈ«¾ÖÖжÏ</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'> while(1)</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'> { </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'> if(++a>10000) //ÑÓʱ10000¸öÈí¼þÖÜÆÚ£¬·Ç¾«È·¶¨Ê±</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'> {</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'> a=0; //ÇåÁãÒÔ±¸Ï´ÎÖØÐ¼ÆÊý</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'> b++; //²½Öè²ÎÊý¼Ó1£¬ÒÔ½øÒ»²½</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'> b&=0x3f; //ÒòΪÎÒÃǶ¨ÒåµÄ±í¸ñ³¤¶ÈΪ64£¬ËùÒÔÕâÀïÐèÒªÏÞÖÆ²½Öè²ÎÊýÔÚ0-63¼ä</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'> PORTD=liushui[b]; //¸ù¾Ý²½Öè²ÎÊý²é±í¸ñ£¬½«²é³öµÄ²ÎÊý·ÅÈëÁÙʱ»º³å¼Ä´æÆ÷ÖÐ </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'> } </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'> }</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'>}</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA>I know in this C code the lines are straight forward & evidents</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA>purpose wise but this is just an example. </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA>I think the specific font used in Word had a very high importance.. <br>I tried many text translators on the web but no chances there.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA>Anybody have an easy translation way ?</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Arial","sans-serif";color:#C00000'> </span><o:p></o:p></p></div></div></div></body></html>