found bug on PHP5
Bug #255895 reported by
ouychai
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php5 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I found a bug while I'm developing the local community website. I'm using php code for display a data from csv file format that you can import from the spreed sheet software.
http://
The Code is
<?php
$file = fopen("
while (!feof($file))
{
print_r(
print "";
}
fclose($file);
?>
This function on PHP can not display the Thai language. I think a bug from function fgetcsv(). I can using fgets for display thai lanuage. I'm using ubuntu 8.04
To post a comment you must log in.
Please show an example (the domain sangaban.org has a broken and a lame delegation and none elsel, so your link does not work) of the problem.
Describe what you expect to happen and what happens instead.
I am not quite familiar with PHP, but I don’t see anything in the above code that is sensitive to differences between ASCII, ISO-8859 or UTF-8.