Open GoogleCodeExporter opened 9 years ago
It's better to use API conversion functions, if possible, as follows:
/**
* Converts UTF-8 to Unicode.
*
* @param str Source string in UTF-8 encoding
* @return Unicode string
*/
public String^ ConvertUTF8(String^ str)
{
array<Byte>^ aBytes = Encoding::Default->GetBytes(str);
return Encoding::UTF8->GetString(aBytes);
}
Original comment by nguyen...@gmail.com
on 29 May 2011 at 3:25
Hello,
I tried but it did not get the good values...
That's why I took the piece of code for the transformation elsewhere in link
with the tesseract project.
Original comment by Domdo...@gmail.com
on 29 May 2011 at 3:29
It's probably because of the ending null character. .NET string does not need
it, I think.
Original comment by nguyen...@gmail.com
on 29 May 2011 at 6:21
I used tesseract3.dll in my web service application. When I publish web site, a
error appeared "The specified module could not be found (Exception from HRESULT
0x8007007E)"
Please help me to resolve this problem.
Original comment by phamphih...@gmail.com
on 2 Jun 2011 at 3:17
You've to be sure that the Leptonica dll's are in your directory : lept*.dll
Original comment by Domdo...@gmail.com
on 2 Jun 2011 at 8:06
Original issue reported on code.google.com by
Domdo...@gmail.com
on 25 May 2011 at 4:11