Skip to content

Switch source encoding to UTF-8 and enforce it in the build [SPR-11569] #16193

Closed

Description

@spring-projects-issues

Stéphane Nicoll opened SPR-11569 and commented

We have been referring to ISO-8859-1 for the encoding of our source files but nothing in our build enforces it and most of the new code base is probably encoded with UTF-8.

Unless there's a valid reason to use latin instead of UTF-8 we should fix at least master and configure gradle to make sure that resources are compiled/copied with that encoding instead of relying on the default.


Issue Links:

5 votes, 6 watchers

Activity

  1. spring-projects-issues commented on Jul 15, 2016

    @spring-projects-issues
    CollaboratorAuthor

    Sam Brannen commented

    Why don't we slate this for 5.0?

  2. spring-projects-issues commented on Jul 25, 2016

    @spring-projects-issues
    CollaboratorAuthor

    Stéphane Nicoll commented

    Source files were already UTF-8 encoded so it was about configuring the compiler. This is done now on master.

  3. added this to the 4.3.3 milestone on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

type: task

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions