Tracker: Bug Reports

5 4.0B6 + 4.0B7 OS depending setting of separator - ID: 1469869
Last Update: Settings changed ( andreas_lerch )

since 4.0B6 there is an OS depending setting of
separator :-( I am not the best in PHP but I am using
OS/2 - if it is: Operating System: OS Independent
(Written in an interpreted language)

you must look for an other solution - here is mine
includes\session.php after:

//-- append our 'includes/' path to the include_path
ini setting for ease of use.
$ini_include_path = ini_get('include_path');

may be at line 155 and following, then change the next
few lines to:

//-- OS depending settings - not real good - beginning
if (substr(PHP_OS, 0, 3) == 'WIN'){$separator = ';';}
else if (substr(PHP_OS, 0, 4) == 'OS/2'){$separator = ';';}
else {$separator = ':';}
$includes_dir = dirname(realpath(__FILE__));
//-- OS depending settings - not real good - ending

I am very happy about PhpGedView - it is a greate
solution for a small - individual - problem - you all
do a very best job

I thank you very much

einen schoenen Tag
Andreas Lerch


Andreas_Lerch ( andreas_lerch ) - 2006-04-13 07:58:36 PDT

5

Closed

Fixed

Gerry Kroll

None

None

Public


Comments ( 4 )

Date: 2006-04-19 03:20:38 PDT
Sender: canajun2eh

Logged In: YES
user_id=1198414

I have made the necessary changes to Future Branch CVS (4.0
beta8).

The attached ZIP file contains "session.php" and "PEAR.php"
from Future Branch CVS. Unpack the ZIP file, and copy both
files to the "includes" directory on your server.


Date: 2006-04-17 07:58:59 PDT
Sender: canajun2eh

Logged In: YES
user_id=1198414

We'll implement a check for OS/2, and treat OS/2 identically
to the way Windows Server is handled.


Date: 2006-04-17 07:52:53 PDT
Sender: andreas_lerch

Logged In: YES
user_id=1463003

on OS/2 the Apache server, and dependant files, must be
stored on HPFS, which is based on ISO codepages with long
file names. At my computer it is the CHCP 850. It can also
be stored on a JFS file system, which is based on UNICODE.
But my knowlage is not deep enough to answer all your
questions. The HPFS file system is like NTFS :-) but it
stores UTF-8 with the same characters that where used inside
the GED files, ASCII. I have no problem with the implementet
solution.
thank you very very much for your help - einen schoenen Tag
Andreas Lerch


Date: 2006-04-13 09:29:55 PDT
Sender: canajun2eh

Logged In: YES
user_id=1198414

Andreas:
Thank you. This will be added.

Can you tell me whether the OS/2 file system uses the ISO
character set to store file names? Windows Server does, and
Linux/Unix/Xenix/... use UTF-8.

This difference causes problems when file names contain
non-English characters such as ä, ö, and ü. PGV has a
translation routine that ensures that the operating system's
file system sees file and directory names in the correct
character set, and that PGV sees the correct character set
when the operating system delivers a file or directory name.

We need to know whether this translation needs to be engaged
for OS/2.


Attached File ( 1 )

Filename Description Download
1469869.zip includes/PEAR.php and includes/session.php from 4.0b8 Download

Changes ( 5 )

Field Old Value Date By
status_id Open 2006-04-28 05:48:33 PDT andreas_lerch
close_date - 2006-04-28 05:48:33 PDT andreas_lerch
File Added 175068: 1469869.zip 2006-04-19 03:20:39 PDT canajun2eh
resolution_id None 2006-04-19 03:20:38 PDT canajun2eh
assigned_to nobody 2006-04-13 09:29:55 PDT canajun2eh