Skip to content

Win95 println!("Hello, 世界!") panics when using Chinese locale #13

Closed
@2moe

Description

@2moe

Screenshot_2023-12-31__11-54-48

fn main() {
    println!("Hello, 世界!");
}

On win95, as long as unicows.dll is included, it will output unicode characters, but the program will end up in panic.

On WinXP, the same program will not panic.
But XP has other unicode problems.

If the "non-unicode profile" is English, then the unicode character becomes "??", which does not automatically fallback to the corresponding font. And I think this may be a problem with the WinXP cmd itself.

bad:
Screenshot_2023-12-31__12-46-39

good:
Screenshot_2023-12-31__12-57-11

good:
Screenshot_2023-12-31__12-41-35

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions