Number of pages counted not correctly for multibyte encoding

VladSavitsky - April 27, 2009 - 08:45
Project:Paging
Version:6.x-1.0-beta3
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

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.

#1

andr - May 24, 2009 - 14:35

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

#2

Gurpartap Singh - May 24, 2009 - 16:53

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

 
 

Drupal is a registered trademark of Dries Buytaert.