|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70489 fputcsv Delimeter issue with RTL characters
Submitted: 2015-09-14 10:26 UTC Modified: 2018-10-14 11:31 UTC
From: tpeary at iknow-uk dot com Assigned: cmb (profile)
Status: No Feedback Package: Filesystem function related
PHP Version: 5.6.13 OS: CentOS 7
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: tpeary at iknow-uk dot com
New email:
PHP Version: OS:


 [2015-09-14 10:26 UTC] tpeary at iknow-uk dot com
I am attempting to create a CSV file from data contained in any array.

I have found if the data contains RTL characters with a space, then the delimeter is added correctly.

Example :

[FirstName] => ابو محمد

The delimeter is added at the beginning, but not the end.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-09-13 11:18 UTC]
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2018-09-13 11:18 UTC]
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with ,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.
 [2018-10-14 11:31 UTC]
-Status: Feedback +Status: No Feedback
 [2018-10-14 11:31 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Apr 13 06:01:23 2021 UTC