text
text copied to clipboard
Some ANSI text gets converted to UTF8 with broken umlauts
Describe the bug Some ANSI text gets converted to UTF8 with broken umlauts when opening and saving
To Reproduce Steps to reproduce the behavior:
- Use provided ANSI file
- Import to NC, open with text editor
- You immediately see the check/tick with a blue dot (changes) made
- Save
- File is now UTF8 with broken umlauts
The interesting thing: Not all my ANSI files are affected. To be more specific: I own VCDS, a VAG diagnostic tool. This tool creates txt files with text (logging) in it. The german version contains umlauts in it. All those files are affected. I attached a example file to test with.
Expected behavior No conversion?
Server details:
- Nextcloud version: 27.1.3
- PHP Version: 8.2
- Database: MySQL8
Client details:
- OS: Ubuntu
- Browser: Firefox
- Browser version: 122
- Device: Windows, desktop