Skip to content

Weird println! issue #457

@manio

Description

@manio

Hi,
During my work on the project i accidentally added polish national UTF-8 character to the debug message.
After some time I saw that once upon a time the text line is "mangled".

I was able to reproduce the problem like this:
cargo generate https://github.com/esp-rs/esp-template
Then I added the following code as the main loop:

    let mut delay = Delay::new(&clocks);
    loop {
        println!("Hello world! with UTF: wysyłam");
        delay.delay_ms(500u32);
    }

The above national character is:
<ł> 322, Hex 0142, Oct 502, Digr l/

Board: ESP32

And the result is:
image

Do you have any idea what is going on? :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions