Skip to main content

mb_check_encoding

Function mb_check_encoding 

Source
pub fn mb_check_encoding(s: &[u8]) -> bool
Expand description

PHP mb_check_encoding($value, 'UTF-8') on a string: strict UTF-8 (no overlong forms, surrogates or code points above U+10FFFF).