Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please provide a way to retain German Umlaute ÄÜÖäüö #99

Closed
schlichtanders opened this issue Dec 17, 2022 · 2 comments
Closed

Please provide a way to retain German Umlaute ÄÜÖäüö #99

schlichtanders opened this issue Dec 17, 2022 · 2 comments

Comments

@schlichtanders
Copy link

I tinkered with everything I could think of. The .tbl definitions are interpreted completely magically, depending on whether it is a safe, iso or utf8 table.

I was able to rewrite unicode.tbl to retain the ÄÜÖöüä, however as soon as I run a subsequent safe table, everything is destroyed.

Unfortuantely, overwriting something like


#
# Chars to translate to _
#

0x0022		_	# "
0x002a		_	# *
0x002f		_	# /
0x003a		_	# :
0x003f		_	# ?
0x005c		_	# \
0x007c		_   # |


#
# Chars to translate to -
#

0x003c		-	# <
0x003e		-	# >

in the unicode.tbl is just completely ignored. I don't know what is going on...

I guess the easiest would be if we could have an arbitrary mapping within unicode.tbl so that no safe.tbl is needed (it is really surprising to me that unicode.tbl does not support this already. It seems that also the default value in the unicode.tbl is completely ignored...)

@dharple
Copy link
Owner

dharple commented Dec 30, 2022

Hi, which version of detox are you using? Can you please post your detoxrc and translation table? Thanks!

@dharple
Copy link
Owner

dharple commented Mar 31, 2024

Version 3 of detox removes all of the transliteration, so this should no longer be a problem.

@dharple dharple closed this as completed Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants