Skip to content

Non ascii byte string literals broken #18697

Closed
@mahkoh

Description

@mahkoh
test.rs:63:42: 63:43 error: byte constant must be ASCII. Use a \xHH escape for a non-ASCII byte: \xdf
test.rs:63     let mut br = BufReader::new(b"Hello, ß World");
                                                    ^

If this is by design then the design is wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions