I need to compare non english strings as below
Majsstärkelse unicode -
MajsstärkelseMajsstärkelse unicode -
Majsstärkelse
if I compare like this
if('Majsstärkelse' === 'Majsstärkelse')
Some of characters not working this comparison.So i tried with
const collator = new Intl.Collator('de')
const order = collator.compare('Ü', 'ß')
console.log(order)
But still no success result. How can I achieve this