php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35047 fgetcsv cannot handle foreigh characters
Submitted: 2005-11-01 13:16 UTC Modified: 2005-11-01 13:33 UTC
From: wanthalf at centrum dot cz Assigned:
Status: Not a bug Package: Filesystem function related
PHP Version: 5.0.5 OS: Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: wanthalf at centrum dot cz
New email:
PHP Version: OS:

 

 [2005-11-01 13:16 UTC] wanthalf at centrum dot cz
Description:
------------
This is exactly the same problem as bug 10896 or 30335. I haven't realized the problem with any PHP4 version, but I have realized it with every PHP5 version I've tried.

Reproduce code:
---------------
See bug 10896.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-01 13:19 UTC] derick@php.net
This is not a bug, you need to set the correct locale with setlocale() for this function to work with special characters.
 [2005-11-01 13:33 UTC] wanthalf at centrum dot cz
Oh. Does it mean it won't work anymore if there is no 
UTF-8-ish locale precompiled on any foreign webhosting 
server? 
BTW: What about Windows??
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Nov 21 05:00:01 2025 UTC