Skip to content
This repository has been archived by the owner on Jan 2, 2019. It is now read-only.

Save filename japanese #1398

Open
hieurhodium opened this issue Mar 15, 2018 · 0 comments
Open

Save filename japanese #1398

hieurhodium opened this issue Mar 15, 2018 · 0 comments

Comments

@hieurhodium
Copy link

I'm want save file with filename is Japanese (Ex: ベトナム実習生候補者名簿.xls) by PHPExcel.

I'm tried with code:

$fileName = iconv("utf-8", "CP932", "ベトナム実習生候補者名簿");
$newFile = $fileName.'xls';

$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');
$objWriter->save($newFile);

and result: ƒxƒgƒiƒ€ŽÀK¶Œó•âŽÒ–¼•ë.xls

How to fix that, thanks all!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant