Javascript – Combining-diacritic-sensitive char replacement for a string
For a bug in a program where I am replacing chars in a string: let a = "o"; let b = "x"; let preString = "őa"; let postString = preString.replace(a, b); alert(postString); The expected behaviour should print out "őa", becuse…