Jakob Hellermann 716a07f50b
fix file name truncation in presence of non-ascii characters (#1402)
* fix file name truncation in presence of non-ascii characters

* review: remove unnecessary -4 of maxNameLength

* review: count byte length of extension

* review: fix typo three -> four

* review: rename byteLength -> maxLength

* review: fix case where last character is incorrectly truncated

* Add some unit tests
2024-07-10 20:04:52 -07:00
..
2023-11-13 18:00:27 -05:00