how can i use the plus sign instead of dashes ?

Discussion in 'WordPress' started by Hamzar, Oct 6, 2010.

  1. Hamzar

    Hamzar Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #21
    i think that none have a solution ?
     
    Hamzar, Oct 8, 2010 IP
  2. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #22
    hmansfield, Oct 8, 2010 IP
  3. Hamzar

    Hamzar Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #23
    hey hmansfield ,
    thank you a lot for your tries .
    he's problem is that the database didn't accepte the chinese characters ..
    but my problem is database accepte arabic characters totally and works fine just a function break the slugs its something related with octets or something like that but i can not know wich function do that ; if i remove the sanitize_title_with_dashes works fine ! but it doesn't replace spaces with dashes .
     
    Hamzar, Oct 8, 2010 IP
  4. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #24
    In the article it looks like the author used a UTF setting that accepted both western and Chinese characters "utf8_unicode_ci". Wouldn't doing something like that allow you to use both sets of characters, keeping your permalink settings and URL structure as well?

    What do you think?
     
    hmansfield, Oct 8, 2010 IP
  5. Hamzar

    Hamzar Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #25
    the problem isn't from database encodage , because when i use ugly title it accepte and all works fine , just when i use ugly slug before inserting it to the db a function break it !
    i think the function is utf8_uri_encode() but im not sure i still analyse it ..
    thanks ..
     
    Hamzar, Oct 8, 2010 IP
  6. Hamzar

    Hamzar Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #26
    solved: the problem is from the the post_name filed (varchar 200) ;
    big thanks to you hmansfield ; believe me i don't know how to give thanks to you .
    i'll be glad to be your friend and do anything to you if i can .
    // if you have msn PM me please with it .
     
    Hamzar, Oct 8, 2010 IP
  7. Mustaafiz

    Mustaafiz Peon

    Messages:
    19
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #27
    is it +/- rating?
     
    Last edited: Oct 11, 2010
    Mustaafiz, Oct 11, 2010 IP