<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Issues 2 and 3 are exactly what we have been focusing on for quite some time now in developing version 2.2 since we know that it is not perfectly smooth yet. Mixing ANSI and UTF8 (unicode) databases in one system is highly ambitious anyway, in fact a rather
 unique endeavor. Main reason is the observation that most users currently only use ANSI (the 'old' default) but hopefully new users will use Unicode. It would have been much easier to force everybody to Unicode/UTF8, so maybe we have too much respect for the
 old users-community ?</p>
<p>The logic is this : <br>
</p>
<p>- abcd.def defines the default setting : unicode or ansi</p>
<p>- if a database diverts from this, put the parameter (UNICODE=1) in its own dr_path.def file (same reasoning for the version of CISIS, e.g. 1660 or bigisis).</p>
<p><br>
</p>
<p>For issue 3, which relates to the display charset, in 2.2 a new variable '$charset' is introduced but in the end there will always remain display errors, e.g. when a Unicode catalog is combined with a ANSI loanobjects on the same page displayed. Again there
 would be one real solution : get rid of ANSI. But most people west of Eastern Europe will resent this option.
<br>
</p>
<p>Also Apache has its own charset parameter, not only the browser and PHP, so you always end up with a potential mess of settings...</p>
<p><br>
</p>
<div id="Signature">
<div class="BodyFragment"><font size="2"><span style="font-size:10pt;">
<div class="PlainText">Egbert de Smet<br>
Universiteit Antwerpen</div>
</span></font></div>
</div>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Edwin Hübner <edwin.hubner@gmail.com><br>
<b>Sent:</b> Friday, May 22, 2020 8:18 PM<br>
<b>To:</b> Egbert De Smet<br>
<b>Cc:</b> isis-users<br>
<b>Subject:</b> Re: [Isis-users] ABCD 2.0f</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div class="gmail_default" style="font-family:verdana,sans-serif">
<div class="gmail-tw-ta-container gmail-hide-focus-ring gmail-tw-nfl" id="gmail-tw-target-text-container" tabindex="0">
<pre class="gmail-tw-data-text gmail-tw-text-large gmail-XcVN5d gmail-tw-ta" id="gmail-tw-target-text" dir="ltr" style="text-align:left"><span lang="en">Thank you Egbert. What about other issues? numbered 2 and 3? Is there a better solution?</span></pre>
</div>
<div class="gmail-tw-ta-container gmail-hide-focus-ring gmail-tw-nfl" id="gmail-tw-target-rmn-container">
<pre class="gmail-tw-data-placeholder gmail-tw-text-small gmail-tw-ta" id="gmail-tw-target-rmn" dir="ltr" style="text-align:left"><span></span></pre>
</div>
</div>
<div>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><span style="font-family:comic sans ms,sans-serif">Edwin Hübner</span><br>
(5521)99647-1675<br>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Em sex., 22 de mai. de 2020 às 15:08, Egbert De Smet <<a href="mailto:egbert.desmet@uantwerpen.be">egbert.desmet@uantwerpen.be</a>> escreveu:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr">
<div id="gmail-m_-759108288712340978divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif">
<p>Edwin,</p>
<p><br>
</p>
<p>what we have now in the working version of config.php is this : <br>
</p>
<p></p>
<div>//IF THERE ARE MULTIPLE BASES FOLDERS THE FOLDER SELECTED IS SET<br>
if ( isset($_SESSION["db_path"]) and  $_SESSION["db_path"]!="")<br>
     $db_path=$_SESSION["db_path"];<br>
</div>
<br>
<p></p>
<p>So that is basically the same idea. Anyway if it works with your version it is o.k.</p>
<p><br>
</p>
<div id="gmail-m_-759108288712340978Signature">
<div><font size="2"><span style="font-size:10pt">
<div>Egbert de Smet<br>
Universiteit Antwerpen</div>
</span></font></div>
</div>
<br>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block; width:98%">
<div id="gmail-m_-759108288712340978divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> isis-users <isis-users-bounces+egbert.desmet=<a href="mailto:uantwerpen.be@iccisis.org" target="_blank">uantwerpen.be@iccisis.org</a>>
 on behalf of Edwin Hübner <<a href="mailto:edwin.hubner@gmail.com" target="_blank">edwin.hubner@gmail.com</a>><br>
<b>Sent:</b> Friday, May 22, 2020 7:46 PM<br>
<b>To:</b> isis-users<br>
<b>Subject:</b> [Isis-users] ABCD 2.0f</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div class="gmail_default" style="font-family:verdana,sans-serif">Dear,<br>
I still have problems with ABCD 2.0f.<br>
1. it did not recognize the option of defining more than one database folder. For example, if I have the following in dbpath.dat:<br>
/ABCD/www/bases/IBJB/|IBJB<br>
/ABCD/www/bases/|default<br>
 and selecting the first option (IBJB) on the login screen, it prsents the databases of the /bases folder (default) on the data entry screen. I was able to solve this by adding the following lines to config.php:<br>
$msg_path="/abcd/www/bases/";<br>
if (isset($_SESSION["DATABASE_DIR"])) {<br>
$db_path=$_SESSION["DATABASE_DIR"];<br>
}<br>
if (!file_exists($db_path."abcd.def")){<br>
echo "Missing  abcd.def in the database folder"; die;<br>
}<br>
$def = parse_ini_file($db_path."abcd.def");</div>
<div class="gmail_default" style="font-family:verdana,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:verdana,sans-serif">Is that ok?<br>
<br>
2. Having set the parameters UNICODE=0, MXPATH=/ABCD/www/cgi-bin/ and encoding=ansi, it gives an error when opening a database, presenting the line: CISIS version:
<a href="https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2F127.0.0.1%3A9090%2Fcgi-bin%2Futf8%2Fwxis.exe&data=02%7C01%7Cegbert.desmet%40uantwerpen.be%7C2fa9ff8002724bb11dfa08d7fe7c9c61%7C792e08fb2d544a8eaf72202548136ef6%7C0%7C0%7C637257683465337142&sdata=gbmiPQe%2FyhR1ycA2%2BjNcTzgrgyc5I2CaLpcESrmKaIM%3D&reserved=0" target="_blank">
http://127.0.0.1:9090/cgi-bin/utf8/wxis.exe</a>, that is, trying to use<br>
wxis from the .../utf8 folder.<br>
I solved it copying wxis from the  .../cgi-bin folder to .../cgi-bin/utf8/ <br>
</div>
<div class="gmail_default" style="font-family:verdana,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:verdana,sans-serif">but how to solve this?<br>
<br>
3. Diacritics for ansi, I got it only by Renate's suggestion, forcing<br>
ini_set('default_charset','ISO-8859-15');<br>
in config.php.<br>
<br>
Regards,</div>
<div>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr"><span style="font-family:comic sans ms,sans-serif">Edwin Hübner</span><br>
(5521)99647-1675<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</body>
</html>