go/go-encode-id.cc
bool
go_id_needs_encoding(const std::string& str)
{
  for (std::string::const_iterator p = str.begin();
       p != str.end();
       ++p)
    if (char_needs_encoding(*p))
      return true;
  return false;
}
// Return whether the identifier needs to be translated because it
// contains non-ASCII characters.
Return whether the identifier needs to be translated because it
contains non-ASCII characters.
Return whether the identifier needs to be translated because it contains non - ASCII characters .
bool
go_id_needs_encoding(const std::string& str)
{
  for (std::string::const_iterator p = str.begin();
       p != str.end();
       ++p)
    if (char_needs_encoding(*p))
      return true;
  return false;
}
bool go_id_needs_encoding ( const std :: string & str ) { for ( std :: string :: const_iterator p = str . begin ( ) ; p != str . end ( ) ; ++ p ) if ( char_needs_encoding ( * p ) ) return true ; return false ; }
Return whether the identifier needs to be translated because it
contains non-ASCII characters.
Return whether the identifier needs to be translated because it contains non - ASCII characters .