Skip to content

Unicode apostrophes in poem.txt #2539

Closed
rust-lang/rust
#80973

Description

JFYI, copying poem.txt from 12.2 Reading a File opened in Chrome into VSCode does not produce utf-8 file but the text apostrophes are non-ASCII character . (Is this written in Word?)

The sample code subsequently panicked with stream did not contain valid UTF-8.

Converting poem.txt to utf-8 fixed the issue here. Getting rid of the Unicode apostrophes will fix it for everyone else using VSCode in first place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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