Wednesday, May 11, 2011, 12:41:45 PM, you wrote:
ZS> I have an URGENT problem of translation between formats in a text
ZS> files
ZS> I need to translate/convert strings from ASCII - latin 850 to UTF-8
ZS> (cyrillic)
ZS> I found the hb_translate() function, but cant find adequate parameters
ZS> to get what I need.
ZS> If someone can help ... plz
Try HB_TRANSLATE(cString,"CP850","UTF8") => cUTFString
--
Best regards,
Jacek Kubica
In Harbour we don't have real codepages (to my deep regret)
as "CP850", so you need to select a Clipper-like alternative,
which is tied to a language/culture:
HB_TRANSLATE( cString, "ES850", "UTF8" )
Though latin to cyrillic doesn't make much sense in the
context of CP conversion.
Viktor