Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Support of multibyte characters count if shortening titles containing umlauts

  1. #1
    Thread Starter
    Veteran bluecafe's Avatar
    Join Date
    Apr 2010
    Location
    Berlin
    Posts
    1,563
    Thanks
    58
    Thanked 359 Times in 273 Posts

    Support of multibyte characters count if shortening titles containing umlauts

    It would be great if the functions
    strlen(get_the_title()) >= 45
    and
    substr(get_the_title(), 0, 45)

    could be replaced by
    mb_strlen()
    and
    mb_substr()

    in order to support multibyte characters count to avoid misspelled characters like this


    if the title contains umlauts or special characters.

  2. The Following User Says Thank You to bluecafe For This Useful Post:

    oren (October 25th, 2010)

  3. #2
    Thread Starter
    Veteran bluecafe's Avatar
    Join Date
    Apr 2010
    Location
    Berlin
    Posts
    1,563
    Thanks
    58
    Thanked 359 Times in 273 Posts
    Hi, I am wondering if the developers are still checking this forum?

  4. #3
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    41,009
    Thanks
    170
    Thanked 3,409 Times in 3,280 Posts
    I believe they do they are just busy keeping a pace with the releases.
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  5. #4
    Thread Starter
    Veteran bluecafe's Avatar
    Join Date
    Apr 2010
    Location
    Berlin
    Posts
    1,563
    Thanks
    58
    Thanked 359 Times in 273 Posts
    Thanks for the reply. Replacing the function is a very small task but a huge improvement for international sites. It only requires that the developers are reading this forum. Actually I am not really sure about this

  6. #5
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    41,009
    Thanks
    170
    Thanked 3,409 Times in 3,280 Posts
    I will directly refer this thread to the developer for a possible fix.
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  7. The Following User Says Thank You to jomarkosabel For This Useful Post:

    bluecafe (October 24th, 2010)

  8. #6
    Veteran bellboy's Avatar
    Join Date
    Apr 2010
    Location
    Tokyo, Japan
    Posts
    515
    Thanks
    132
    Thanked 43 Times in 36 Posts
    Whoa. Wait a second here. Does this mean that currently ClassiPress does not support multibyte characterse or unicode?? For example, Japanese or other Asian characters? Please say this isn't so. Can we get a confirmation on this.

  9. #7
    Thread Starter
    Veteran bluecafe's Avatar
    Join Date
    Apr 2010
    Location
    Berlin
    Posts
    1,563
    Thanks
    58
    Thanked 359 Times in 273 Posts
    Classipress does support umlauts and other utf8 characters but the titles in the tab view arecut after a certain count of characters. And the present function strlen(get_the_title()) >= 45 does not count multbyte characters (such as umlauts) as one and if a multibyte character is at the cutting point you will get strange signs as seen in the screenshot above.

    The function mb_strlen(get_the_title()) >= 45 counts multibyte characters as one and no misspelling will happen anymore. If classipress claims to be used in 18+ languages it should use the proper functions. It's not a big task to replace the function. Trying to get the attention of the developers seems to be far more difficult ...

  10. #8
    Veteran bellboy's Avatar
    Join Date
    Apr 2010
    Location
    Tokyo, Japan
    Posts
    515
    Thanks
    132
    Thanked 43 Times in 36 Posts
    Thanks for pointing this out bluecafe. Hopefully the moderators can raise this so it can be put into the official 3.1 release before the end of this month.

    I agree on the communication issue with the development team. It seems that recently there has been even less of dialogue between customers and the team (David and Seth). I assume they are busy working on the many different themes but I cannot help but think they have spread themselves too thin.

  11. #9
    Thread Starter
    Veteran bluecafe's Avatar
    Join Date
    Apr 2010
    Location
    Berlin
    Posts
    1,563
    Thanks
    58
    Thanked 359 Times in 273 Posts
    Did the developer team get notice of this? It's really a small task and not a big effort but would be very helpful for international sites.

  12. #10
    pepsi's Avatar
    Join Date
    Mar 2009
    Location
    New Zealand
    Posts
    14,883
    Thanks
    91
    Thanked 804 Times in 718 Posts
    A ticket was logged for this, so it should be included in either 3.0.5 or 3.1. Thanks.

  13. The Following User Says Thank You to pepsi For This Useful Post:

    bluecafe (November 1st, 2010)

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Post titles in Hebrew
    By yoramzara in forum ClassiPress General Discussion
    Replies: 1
    Last Post: September 10th, 2010, 05:30 PM
  2. Shortening titles containing umlauts or other special characters
    By bluecafe in forum Report ClassiPress Bugs
    Replies: 0
    Last Post: August 1st, 2010, 06:44 AM
  3. Stripping quotes from titles
    By rodeoramsey in forum Help Using ClassiPress
    Replies: 0
    Last Post: May 12th, 2010, 02:36 PM
  4. How to edit the Nav Bar Titles - Add a Contact Us??
    By creekslist in forum Help Using ClassiPress
    Replies: 8
    Last Post: April 24th, 2010, 09:04 PM
  5. Sitewide AD count display?
    By Spacifieds in forum ClassiPress General Discussion
    Replies: 2
    Last Post: August 26th, 2009, 03:01 AM