בעיית תווים בטורקית בכותרת

This happens when the title has only uppercase letters, the site setting title_prettify is enabled and the site setting allow_uppercase_posts is disabled.

Ruby has an optional parameter for String#downcase that we could use when the default locale is Turkish, but I’m really on the fence here. What if someone uses “CIA BLA BLA” as topic title on a Turkish forum?

So, here are some solutions for you:

  • Don’t use all uppercase letters in titles: “GIDA BLA BLA bla” would works fine!
  • Or enable the allow_uppercase_posts site setting
  • Or disable the title_prettify site setting
3 לייקים