Skip to content

Explicitly specify locale in application tests#35922

Open
arnej27959 wants to merge 1 commit intomasterfrom
arnej/locale-2-application
Open

Explicitly specify locale in application tests#35922
arnej27959 wants to merge 1 commit intomasterfrom
arnej/locale-2-application

Conversation

@arnej27959
Copy link
Member

Avoid locale-dependent behavior in test code by:

  • Using StandardCharsets.UTF_8 when creating InputStreamReader and PrintStream
  • Using Locale.ROOT for toLowerCase() operations to ensure consistent behavior across different system locales

Avoid locale-dependent behavior in test code by:
- Using StandardCharsets.UTF_8 when creating InputStreamReader and PrintStream
- Using Locale.ROOT for toLowerCase() operations to ensure consistent behavior
  across different system locales
@arnej27959 arnej27959 requested a review from bratseth February 13, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant