Skip to content

Text encoding issues with default settings #6407

@scabug

Description

@scabug

While in a perfect world “Unicode/UTF-8 everywhere” would be a sensible standard, Scala has to work well with existing code.

Because of that, text encoding/input/output is done in Unicode where possible and in the underlying platform's encoding where necessary (due to Java's heritage).

Despite that, there are several places in the standard library where a third way has been chosen: Defaulting to some outdated encodings of the ISO-8859-X family.

This should be fixed.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions