Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when there is special character in a string #1

Closed
gyan111 opened this issue Jul 14, 2020 · 5 comments
Closed

Issue when there is special character in a string #1

gyan111 opened this issue Jul 14, 2020 · 5 comments

Comments

@gyan111
Copy link

gyan111 commented Jul 14, 2020

Thank you for this awesome and simple library.

I have set the encoding to UTF- 8.

The xlsx file returns only random 1 field because there is a "£" sign.

I know this issue is not with the library but may be it can be improved to handle this issue.

@shuchkin
Copy link
Owner

shuchkin commented Jul 14, 2020

try debug

ini_set('error_reporting', E_ALL );
ini_set('display_errors', 1 );

$data = [
    ['Debug', '£ 123']
]
SimpleXLSXGen::fromArray( $data )->saveAs('debug.xlsx');

send me php example

@shuchkin
Copy link
Owner

try 0.9.15

@gyan111
Copy link
Author

gyan111 commented Jul 14, 2020

it works.

debug.xlsx

@gyan111
Copy link
Author

gyan111 commented Jul 14, 2020

Than you for the quick response and update.

I confirm that the issue has been fixed.

I was also having issue with "'" character. Like I'm. That issue also fixed.

Thank you @shuchkin so much for your hard work developing this simple package.

A must have package if anyone working with excel.

@gyan111 gyan111 closed this as completed Jul 14, 2020
@shuchkin
Copy link
Owner

thx )

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

No branches or pull requests

2 participants