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

Loose the requirement of mbstring #38

Closed
mnapoli opened this issue Dec 25, 2014 · 5 comments
Closed

Loose the requirement of mbstring #38

mnapoli opened this issue Dec 25, 2014 · 5 comments

Comments

@mnapoli
Copy link
Contributor

mnapoli commented Dec 25, 2014

This library requires the mbstring extension. Unless I'm mistaken, this extension is not always installed on every system, and I'm afraid it will lead to problems with end users not being to install this project or projects requiring this one.

Why is that extension required? Simply for mb_* functions? In that case would it be acceptable to do something like "if mbstring then use mb_strlen else use strlen"?

@philsturgeon
Copy link
Member

Patchwork UTF-8 might be a reasonable alternative but it depends how much of mb_string is actually used. You can get away with using core functions for a lot of stuff.

---Sent from Boxer | http://getboxer.com

On 25 December 2014 18:01:11 GMT-5, Matthieu Napoli notifications@github.com wrote:This library requires the mbstring extension. Unless I'm mistaken, this extension is not always installed on every system, and I'm afraid it will lead to problems with end users not being to install this project or projects requiring this one. Why is that extension required? Simply for mb_* functions? In that case would it be acceptable to do something like "if mbstring then use mb_strlen else use strlen "? —Reply to this email directly or view it on GitHub. =

@cebe
Copy link

cebe commented Dec 26, 2014

@philsturgeon
Copy link
Member

@colinodell
Copy link
Member

This has been done :)

Thanks for the suggestion @mnapoli, and thanks @philsturgeon for getting the changes made!

@mnapoli
Copy link
Contributor Author

mnapoli commented Dec 27, 2014

Awesome thanks!

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

4 participants