I have a function that uses wp_insert_post to add a post to the system and it works perfectly fine but if i try to add a title like Abadoğlu, Ender it adds up to the point where ğ is. In other terms, if there is any special character, the script stops at that point. But if i use the normal wordpress post page, I can add using the special characters