You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using custom rules for transliteration. Since #587 they are not taking into account anymore.
It seems that this is due to the fact that symbolize_names returns keys with ASCII-8BIT encoding :
Are you by any chance using bootsnap? I have a very similar issue, albeit without using custom transliterations (only rails-i18n). It seems updating i18n from 1.8.11 to 1.9.1 while using bootsnap broke something:
I made a demo repository with a rails new --minimal, a single test file and branches for each combination of i18n version and bootsnap enabled/disabled:
Hello 👋
We are using custom rules for transliteration. Since #587 they are not taking into account anymore.
It seems that this is due to the fact that
symbolize_names
returns keys withASCII-8BIT
encoding :This is what
@approximations
contains in ourHashTransliterator
:What I tried to do
What I expected to happen
What actually happened
Versions of i18n, rails, and anything else you think is necessary
The text was updated successfully, but these errors were encountered: