Skip to content

Redesign Streams and Character Encoding #213

Open
@daumayr

Description

@daumayr

Right now Stream operations are very byte oriented and only ASCII characters are supported by the character converters. Streams should be redesigned to offer operations that read/write multiple bytes at once, making implementation of character encodings other than ASCII easier.
The Java implementation of strings and characters uses UTF-16 encoding, so this is going to be the encoding of the internal representation.

Goals:

  • multi-byte operations (like nextInt nextLong nextDouble etc.)
  • support reading/writing other Character Encodings
  • more strictness / better Exceptions

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImproves the implementation with something noteworthyhelp wantedWould be great if you could help out here.language-designNot everything is in the spec, sometimes, we need to decide what's best.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions