UTF-8 character handling error in serial monitor

I updated the IDE to 2.0.3.
But still, the error has not fixed.
See the attached file.

Hi @hgycap. Please post your sketch in a reply here as text, not a screenshot. I'll provide instructions:

  1. Select Edit > Copy for Forum (Markdown) from the Arduino IDE menus.
  2. In a forum reply here, click on the post composer field.
  3. Press Ctrl+V.
    This will paste the sketch to the post composer.
  4. Click the Reply button to post your reply.
void setup() {
  while(!SerialUSB);
  SerialUSB.begin(9600);
  SerialUSB.println("한글 출력이 이상해요~");
}

void loop() {
  // put your main code here, to run repeatedly:

}

I am using Arduino Zero with Native USB Port.

Thank you~

Thanks. I think it is the bug that is being tracked here:

When I modify the sketch to print the string repeatedly and adjust it to run on my Arduino Mega board:

void setup() {
  Serial.begin(9600);
}
void loop() {
  Serial.println("한글 출력이 이상해요~");
  delay(1000);
}

I get that characteristic rotating corruption:

����� ��력��� ��������요~
������ �����이 이��������~
������ �������� ��상������~
���글 ��력��� ��������요~
������ �����이 이��������~
������ �������� ��상������~

I don't see that rotation when I run the sketch on my "Arduino Zero (Native USB Port)" board though. On that board I see the same corruption as in your output on every printed line.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.