Skip to content

Dealing with utf16 string #19

@markxp

Description

@markxp

I used tail.TailFile and t.Lines happily. Until one day I had a UTF16-LE encoded file.
Since golang string type supports utf-8, it is not capable to throw a UTF-16 string correctly.

It will be nice if a tail.Line can return a []byte. What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    v2Ideas for v2

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions