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

Use pecl::intl for IDN processing #27

Closed
DaSourcerer opened this issue Mar 25, 2013 · 4 comments
Closed

Use pecl::intl for IDN processing #27

DaSourcerer opened this issue Mar 25, 2013 · 4 comments

Comments

@DaSourcerer
Copy link
Contributor

This is more of a note, really. In forefront of yiisoft/yii#2183, @resurtm and I discussed that it might be worth to use the pecl::intl package instead of some 3rd party userland library. Main reason being that pecl::intl is being shipped as a default extension since PHP v5.3.

@qiangxue
Copy link
Member

Yes, this is what I have been thinking about. We probably will drop our own number and date formatter in favor of the PECL intl package. This has the benefit that we no longer need to maintain and include the big locale data.

We will still support message translation and plural form features.

@qiangxue
Copy link
Member

Will hear more feedback from other users before making the final decision.

@DaSourcerer
Copy link
Contributor Author

We probably will drop our own number and date formatter in favor of the PECL intl package.

Heh, I've been too focused on IDN that I haven't even noticed this were possible. But why, yes, this makes total sense. It would even come with handy functionality such as Locale.acceptFromHttp. 👍 by me.

@qiangxue
Copy link
Member

qiangxue commented Apr 2, 2013

Closed for the reason explained in #22

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

3 participants