-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
NumberFormatter currency output format changed (ICU issue?) #17218
Comments
Do not know for sure, but that might be a ICU data installed difference between minimalist distro such as Alpine vs something like Ubuntu. But I ll try to have a look later unless someone knows already. |
Thanks a lot for the swift response, I'll try looking in the meantime as well and update the issue if I find anything useful. |
So as expected, the pb lies in a missing alpine package, |
It indeed does solve the problem! Thanks a lot, I would've never figured it out. I've just installed Appreciate your help, perhaps you can close this issue. |
Description
The following code:
Resulted in this output:
But I expected this output instead:
Is this something with the ICU project? I've tested with 2 different systems, one being Alpine Linux v3.21 x86_64 with PHP 8.4.1 and another being Ubuntu 22.04 LTS with PHP 8.3.11.
On the Alpine system, my icu-libs version is 74.2, on the Ubuntu system my libicu version is 70.1.
Edit: I've tried to compile the same (70.1) version of ICU from source on my Alpine system, but either I'm doing something wrong, or it doesn't matter which version I'm using on my system - which would make no sense, because it works perfectly on 3v4l on PHP 8.4.1.
This is my
php -i | grep ICU
output though, PHP doesn't give a flying one what's on my system. Any advice?PHP Version
PHP 8.4.1
Operating System
Alpine Linux v3.21 x86_64
The text was updated successfully, but these errors were encountered: