Download & Extend

Number of pages counted not correctly for multibyte encoding

Project:Paging
Version:6.x-1.0-beta3
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

When node's text is in russian (or any other language but english) number of pages counted not correctly.
This happens when choosed automative pagebreake insertion is ON and used rule with number of symbols.

Solution:
you should use mb_* -functions for multibyte charsets instead of str_*-functions.

Thanks a lot for your work.

Comments

#1

The same problem. In English ok, but in Russian adds a few empty pagers. Thanks

#2

It would help if you can verify the solution for your languages. I'll make the changes in coming weeks.

nobody click here