Is there an API in Java to obtain the typographically correct quotation marks (opening + closing) for a specific Locale?
See for example this table:
https://de.wikipedia.org/wiki/Anf%C3%BChrungszeichen#Andere_Sprachen
(It's in German, but one look at the page and you'll know what I mean.)
you can try using ICU4J project, e.g. class LocaleData
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With