CharacterConversion.h 479 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#pragma once
#include <iostream>

using namespace std;

float Similarity(string name, string Name);

std::wstring Utf82Unicode(const std::string& utf8string);

std::string WideByte2Acsi(std::wstring& wstrcode);

std::string UTF_82ASCII(std::string& strUtf8Code);

std::wstring Acsi2WideByte(std::string& strascii);

std::string Unicode2Utf8(const std::wstring& widestring);

std::string ASCII2UTF_8(std::string& strAsciiCode);

int utf8_to_unicode(char* pInput, char** ppOutput);