Comments (1)
Thanks for the feedback!
I assume you're running detox version 1. You can override the default behavior by creating a custom translation table. Depending on how you installed detox, there should be a file in /usr/share/detox
or /usr/local/share/detox
called unicode.tbl
. You can create a copy of this file, maybe unicode-updated.tbl
, and add a line like this:
0x20 " " # keep spaces
You'll need to modify your detoxrc, probably in /etc/detoxrc
or /usr/local/etc/detoxrc
, and update the utf_8-only
sequence to use this file:
sequence "utf_8-only" {
utf_8 {
file "unicode-updated.tbl";
};
};
Alternatively, detox version 2 allows you to not specify a default value to use when a specific entry is missing from a translation table. You can simply leave 0x20
out of unicode-updated.tbl
and make sure there is no default
line, and detox will leave the character alone.
from detox.
Related Issues (20)
- Ignore folders? HOT 3
- double free or corruption (out) when using custom sequence
- Is it possible to replace characters and remove punctuation (i.e. parentheses, braces etc.) in one detox command? HOT 1
- Please provide a way to retain German Umlaute ÄÜÖäüö HOT 2
- add a flag to convert uppercase characters to lowercase HOT 1
- detoxrc help request (not an issue) HOT 1
- OneDrive .tbl file HOT 3
- 0x20 Space.. HOT 1
- Handle 2044 (⁄ Fraction Slash) HOT 1
- unsupported unicode length HOT 4
- Equal sign not tamed HOT 2
- add --git option to issue git mv instead of mv HOT 1
- option to ignore spaces and fix only wrong chars HOT 1
- Shift detox from transliteration to handling problematic characters
- Review CodeQL sscanf issues
- Figure out snap builds
- Detox not replacing 0x202F (narrow no-break space) on MacOS
- Don't append underscore after deaccented characters?
- [feature request] Add ability to set a max filename length
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from detox.