All popular questions related to OS Property will be posted here

CSV export with non-UTF8 characters

  • Mr. Dam
  • Topic Author
  • Away
  • Administrator
  • Administrator
More
9 years 10 months ago - 9 years 10 months ago #56352 by Mr. Dam
CSV export with non-UTF8 characters was created by Mr. Dam
Dear everyone,
Some customers reported the issue with CSV Export feature at Back-end of OS Property. In case their properties contain non-UTF8 characters, the CSV exported file will contain strange characters. We have checked that function again and found that is the issue of OS Property. This issue will be fixed in OS Property 2.7.5, but if you are using previous OS Property version. You can fix the error by following bellow steps
1. Open file: root > administrator > components > com_osproperty > classes > csvexport.php
2. find this line
fputcsv($fp, $labels,$configClass);
and put this line
fwrite($fp,"\xEF\xBB\xBF");
above it.

Good luck
Dam
Attachments:
Last edit: 9 years 10 months ago by Mr. Dam.

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan