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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 22:01:29 2024 UTC