Add lacking file with UTF-8 name encoding #1018
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In a Debian GNU/Linux system, the unit test unicode.praat fails with Praat 6.0.56:
This is caused by the fact that the file with name
decomposed$ + ".wav"
is absent. This is a trick problem, because this file has a name that is visually identical to the fileprecomposed$ + ".wav"
:The accented characters in these strings are encoded differently. In the
precomposed$
one, the "é" glyph, for instance, is a pure Unicode character (LATIN SMALL LETTER E WITH ACUTE U+00E9), while in thedecomposed$
one, the "é" glyph is composed of two Unicode character (LATIN SMALL LETTER E U+0065 + COMBINING ACUTE ACCENT U+0301).The problem comes from the fact that only the WAV file with the
precomposed$
name is present. This commit adds a copy of that file with a name encoding that corresponds to thedecomposed$
name.