Fix getPostId with accentuated characters