On Thu, 01 Apr 2010, vatzct wrote: Hi,
> PROC MAIN() > LOCAL i > REQUEST HB_CODEPAGE_UA866 > REQUEST HB_LANG_UA866 > HB_SETTERMCP( "UA866" ) > SET( _SET_CODEPAGE, "UA866" ) > SET( _SET_LANGUAGE, "UA866" ) Wrong order. If you call HB_SETTERMCP() before _SET_CODEPAGE then you have to use: HB_SETTERMCP( "UA866", "UA866" ) The general syntax is: HB_SETTERMCP( <cTermCP>, [<cHostCP>], [<lBox>] ) You can use it also in none unicode GTs like GTSTD to translate between CPs, i.e.: HB_SETTERMCP( "UA1125", "UA866" ) best regards, Przemek _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour