Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import static org.junit.Assert.*;
import java.util.Locale;
import org.junit.Test;
public class ToUpperCaseInTurkeyLocaleTests {
public void foo() {
String s = "aia".toUpperCase(
Locale.forLanguageTag("tr-TR") // good :)
// new Locale("tr-TR") // bad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.