Old/mp3_InfoManager/utils.cpp
// converts an ASCII string into a Unicode one
converts an ASCII string into a Unicode one
converts an ASCII string into a Unicode one
dami::String mbstoucs(dami::String data)
{
  size_t size = data.size();
  dami::String unicode(size * 2, '\0');
  for (size_t i = 0; i < size; ++i)
  {
    unicode[i*2+1] = toascii(data[i]);
  }
  return unicode;
}
dami :: String mbstoucs ( dami :: String data ) { size_t size = data . size ( ) ; dami :: String unicode ( size * 2 , ' \0 ' ) ; for ( size_t i = 0 ; i < size ; ++ i ) { unicode [ i * 2 + 1 ] = toascii ( data [ i ] ) ; } return unicode ; }
converts an ASCII string into a Unicode one
converts an ASCII string into a Unicode one