|
From: Alain A. <ala...@wa...> - 2014-01-31 12:39:48
|
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Le 31/01/2014 11:30, Alexander S.Kresin
a écrit :<br>
</div>
<blockquote cite="mid:52E...@be..." type="cite">
<pre wrap="">What about:
hwg_SetAppLocale( "CP1251" )
hb_cdpSelect( "FRWIN" )
SetDataCP( "FR850")</pre>
</blockquote>
No more good (FRWIN is not a know CP)<br>
<br>
After searching in harbour source, I found that ISO-8859-1 is bad
and ISO8859-1 is good instead<br>
<br>
Setting applocale to ISO8859-1 does the trick for gets, but now,
impossible to have dbf fields or menu strings correctly displayed.
(see hardcopy). The hardcopy is for :<br>
<br>
hwg_SetAppLocale( "ISO8859-1" )<br>
hb_cdpSelect( "CP850" )<br>
SetDataCP( "FR850")<br>
<br>
It seems that SetAppLocale is the master, and all the values we can
set for cdp or datacp are not executed.<br>
<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-01-27 14:04) | HbIDE (Rev.279) | Five.Linux (r138) |
Hw.Gui (2217)</small>
<hr></div>
</body>
</html>
|