|
From: Alain A. <ala...@wa...> - 2014-04-17 20:39:00
|
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
The same way I have translated dbview, I have made it for the
debugger.<br>
It works , but I have a little problem.<br>
To translate I added this:<br>
<br>
<small><i>REQUEST HB_CODEPAGE_FRISO<br>
REQUEST HB_CODEPAGE_UTF8<br>
<br>
...<br>
<br>
Function Main( ... )<br>
...<br>
hwg_SetAppLocale( "ISO8859-1" )<br>
hb_CdpSelect( "FRISO" )<br>
<br>
</i></small><br>
and I use hb_utf8tostr() for the menus, titles, strings<br>
That's ok<br>
<br>
To have a correct display of the text, I have added<br>
<br>
<small><i>Static Function OpenPrg()<br>
...<br>
hwg_SetAppLocale( "UTF-8" )<br>
</i></small><br>
but it doesn't work as I expect<br>
<br>
hwgdebug <program> >>> don't
display correctly <br>
<program> >>>
don't display correctly<br>
hwgdebug => debug a program >>> don't display
correctly<br>
<br>
In all these cases, I must use 'open a source file' to have then
correct display.<br>
<br>
What do I miss ?<br>
<br>
Thanks<br>
A+<br>
<div class="moz-signature">-- <br>
<hr>
Alain Aupeix<br>
<a class="moz-txt-link-freetext" href="http://jujuland.pagesperso-orange.fr/">http://jujuland.pagesperso-orange.fr/</a><br>
<a class="moz-txt-link-freetext" href="http://pissobi-lacassagne.pagesperso-orange.fr/">http://pissobi-lacassagne.pagesperso-orange.fr/</a><br>
<hr>
<small>U.buntu 12.04 | G.ramps 3.4.6-1 | H.arbour 3.2.0dev
(2014-04-11 15:36) | HbIDE (Rev.288) | Five.Linux (r138) |
Hw.Gui (2235)</small>
<hr></div>
</body>
</html>
|