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

Show an error when multibyte string functions are missing. #192

Open
Zegnat opened this issue Mar 16, 2015 · 3 comments
Open

Show an error when multibyte string functions are missing. #192

Zegnat opened this issue Mar 16, 2015 · 3 comments

Comments

@Zegnat
Copy link

Zegnat commented Mar 16, 2015

NoNonsenseForum is pretty good at warning people when their servers do not support running it. E.g. Apache version, PHP version, permissions… I think people should be warned when multibyte string functions are unavailable as well.

The transliterator has many layers of dependencies, but other parts are completely reliant on mb_-functions.

Sparked by NNFNewbie over at the forum.

@Kroc
Copy link
Owner

Kroc commented Mar 16, 2015

There'll never be an end to the crazy backwards server configurations out there :) Noted.

@Zegnat
Copy link
Author

Zegnat commented Mar 16, 2015

Although it is available from PHP 4.0.6 onward, it has never actually been enabled by default:

mbstring is a non-default extension. This means it is not enabled by default. You must explicitly enable the module with the configure option.

Who knew Every NNF bug report helps me learn a new thing about PHP 😉

@Kroc
Copy link
Owner

Kroc commented Mar 17, 2015

You know that phrase "If it's stupid, but it works, it's not stupid"? That's PHP. It makes no sense, but it does the job well.

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