|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-03-23 14:57 UTC] helly@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 16:00:01 2025 UTC |
Description: ------------ i tried to open datasets with dbase_open() and dbase_get_record_with_names(). after doing so, all german special characters like ??????? are not correct as i can see with print_r(). so for german users (and others too) it's not possible to use dbase-import. Reproduce code: --------------- $dbase_identifier = dbase_open($file,2); $max_records = dbase_numrecords($dbase_identifier); for ($i=0; $i<$max_records; $i++) { $rec = dbase_get_record_with_names($dbase_identifier,$i); print_r($rec); } Expected result: ---------------- i'd like to have all the characters ??????? not being replaced by other ones like \n or nothing: Array ( [ART_ID] => 3198 [INSERTUSER] => ?bernahme [EDITDAT] => 20030923 [EDITUSER] => UPD_APREIS [ABI_UNTERR] => Erz?hlungen [deleted] => 0 ) Actual result: -------------- instead of the german characters i get replaced ones: Array ( [ART_ID] => 3198 [INSERTUSER] => bernahme [EDITDAT] => 20030923 [EDITUSER] => UPD_APREIS [ABI_UNTERR] => Erz hlungen [deleted] => 0 )