#23 make more system encodings detectable