support for weird characters, limited to bi and trigrams