• Hi

    I blog in Tamil unicode and I use date-name type permalink.

    Since the post title is in non-English unicode, the permalink url of the post appears in % escape characters (e.g: “%e0%ae%95%e0%af%82” etc). This increases the number of characters in the title url.

    The result is that my post titles when typed in my language and saved, they get trimmed to some length after saving. Hence the resultant post url shows a meaningless word in the end, since the cut off happens somewhere in the middle of a word, on which I have no control.

    Hope I have explained the problem correctly.

    Please tell me what is the limiting size (length) for post title url and how to increase it.

    Your help would greatly relieve my current headache!

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mahamaya3

    (@mahamaya3)

    After a bit of searching I found this line in \wp-includes\default-filters.php file.

    add_filter('the_title', 'trim');

    I wonder if this has anything to do with the limiting of no. of characters in the post title.

    Thanks I A for your help!

    Thread Starter mahamaya3

    (@mahamaya3)

    Its me again!

    I think I’m making progress..!

    I found this:

    /**
    * Encode the Unicode values to be used in the URI.
    *
    * @since 1.5.0
    *
    * @param string $utf8_string
    * @param int $length Max length of the string
    * @return string String with Unicode encoded for URI.
    */

    function utf8_uri_encode( $utf8_string, $length = 0 )

    in file “formatting.php”.

    I am not able to proceed further since I am php-challenged!

    Hope someone will help.

    Mahamaya.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Post tiltes get truncated’ is closed to new replies.