php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #38477 Filesystem Functions::fgetcsv(): locale dependent limitation
Submitted: 2006-08-17 00:12 UTC Modified: 2007-08-17 16:59 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:2 (66.7%)
From: jo at feuersee dot de Assigned:
Status: Wont fix Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2006-08-17 00:12 UTC] jo at feuersee dot de
Description:
------------
See bug #38471 first (http://bugs.php.net/bug.php?id=38471)

As stated there, current PHP versions don't support fgetcsv() with multibyte support in a useable way.

Considering the increasing use of UTF-8, IMO it should be clearly stated in the documentation that support concerning multibyte encodings is not yet avail and anyone using such encodings is way better off implementing their own way of parsing CSV files than using fgetcsv().



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-08-17 16:59 UTC] vrana@php.net
All PHP functions (except special) work with bytes, not characters. It wouldn't change before PHP 6.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Mar 13 19:01:31 2025 UTC