Wordpress initialcap Issue

by 11 replies
13
Hi guys,

I am setting up a blog and chose a beautiful theme called Medieval Book (??????). It incorporates this code for to make the initial caps beatuful - WPguy.

However I am facing difficulties when writing in Cyrillic. It displays the initial cap as "?" instead of the Cyrillic character. The funny thing is that everything else in the post is displayed as it should be(you can see my tests there).

Can anyone help me with that?

I asked the WPguy and the guys who made this theme and they could figure it out which wasn't cool at all. :confused:
#programming #initialcap #issue #wordpress
  • were those characters non-English? I also see them ???. If those are non-English may be the font you have used, does not have those entries.
    • [1] reply
    • No, they are not English characters. I tried changing the font to Arial and TNR but didn't work. Then tried to change the default encoding in the php code but didn't work either.

      It is the initial capital letter only that's problematic.
      • [1] reply
  • I edit the code of the theme inside the WP dashboard - everything.
    • [1] reply
    • hmm, what you see in the source code? i mean do you see those text correctly after you edit and hit Update button?
  • The funny thing is that I see the "?" instead of the Cyrillic character in the source code even.
  • Yep, then it is BOM related problem. Try editing with UTF-8 supported editor. You can use notepad. But start it as Unicode support. I guess you can get it from File->New->File type

    thanks
  • I tried that one. It didn't work. I guess it's time for an exorcist...
  • Then you should hire any professional. I just don't know anymore what to say

Next Topics on Trending Feed