|
From: Alain A. <ala...@wa...> - 2014-01-31 10:17:39
|
<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 10:46, Alexander S.Kresin
a écrit :<br>
</div>
<blockquote cite="mid:52E...@be..." type="cite">
<blockquote type="cite">
<pre wrap="">It seems that hwg_SetAppLocale( "CP850" ) is equivalent to ANSI, and
that the get system waits for OEM (or STR ??)
Am-I wrong ?
</pre>
</blockquote>
<pre wrap=""> I think, you're right.
We have set the "CP850" - so, all strings are converted from "CP850"
to utf8 before be displayed, but the characters, which are input from
the keyboard, are, probably, in other codepage, so we need to know how
this codepage is called. In this case you need to set hwg_setAppLocale()
to this codepage, and hb_cdpSelect() to appropiate, but SetDataCP()
should be set to "FR850".</pre>
</blockquote>
I have made some test, but none are ok<br>
<br>
if I set cdpselect to CP850 and datacp to FR850, and comment
setapplocal, dbf data display is wrong and I have an error with
PANGO (as at the beginning)<br>
<br>
If I uncomment setapplocal and set it to UTF8, and also set
cdpselect to UTF8, dbf datas and menus are correctly displayed, but
I have PANGO error in gets<br>
<br>
I really don't know which codepage to use.<br>
<br>
A+<br>
-- <br>
<div class="moz-signature">
<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>
|