merged type and chars_allowed