fix language parser choking on unicode characters