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

normaliseHamza() converts numbers to letters #6

Open
ahmed-fawzy99 opened this issue Mar 2, 2023 · 0 comments
Open

normaliseHamza() converts numbers to letters #6

ahmed-fawzy99 opened this issue Mar 2, 2023 · 0 comments

Comments

@ahmed-fawzy99
Copy link

Example Usage
echo $arabic->normaliseHamza("10 ش أحمد عصمت");
Expected Output
10 ش احمد عصمت
Generated Output
يو ش احمد عصمت

Apparently, 0 converts to 'و' and 1 converts to 'ي'. I have tried other numbers and they do not generate this bug, only 1 and 0.

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

1 participant