ktfmt
ktfmt copied to clipboard
Unicode characters through stdin not handled properly with non-standard UTF setting
When I format with ktfmt and have (german) umlauts like "ä" oder "ü" in a string value, I get this warning:

The input value is: "Müller Maha Ag" Actual Result with ktfmt: "M�ller M�ha Ag" Expected Result: "Müller Maha Ag"
My setup: IDE: IntelliJ IDEA 2022.3.2 JAVA: 17 Kotlin: 1.7.22 OS: Windows 11
It is a Intellij problem.
@hick209 This is probably fixed. UTF8 is now assumed for all inputs and the system charset is ignored.
Confirmed that this is now fixed (tested on 0.49)