v.1.37.1 on Win 10 (latest updates).

Steps to reproduce:

  1. Create new text file tmp.txt.
  2. Add "Lorem ipsum dolor sit amet," to the body and save.
  3. (Optionally confirm UTF-8 encoding, this does not seem to be an internal encoding issue.)
  4. (Optionally -- reopen file to confirm it is working as expected.)
  5. Close file and rename to tmp子.txt (or several other Chinese characters... or hangul, such as tmp점.txt... maybe any non-latin?)
  6. (Optional: Confirm notepad.exe can open file and display contents.)
  7. Open file.

Expected:
See original lorem input.

Actual:
See empty file.
(Can confirm encoding unchanged here.)

7b. Attempt to edit and save:

Error

Error saving file.
Error opening file “

\tmp?.txt”: Input/output error

The file on disk may now be truncated!

OK

  1. Close file without save.
  2. Rename file to just "tmp.txt". Open file, see original input.

I searched for existing issues but might not have used the right keywords, sorry if this is a duplicate.

Hope this is helpful. Thanks for a great program!


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.