Function encoding::has_BOM(const std::u16string&)

Function Documentation

bool encoding::has_BOM(const std::u16string &text)

Return

boolean indicating whether this string has the UTF BOM

Parameters
  • text: string to check. Should be a UTF-16 string