Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

[SOLVED] Javascript in the header don't accept site language

Build custom WP THEMES, without
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
Old Aug 17, 2011, 03:33 AM
166 posts · Sep 2010
Czech Rep.
Using Atahualpa 3.6.7 on testsite http://hybrid007.ic.cz (it is in Czech) - I want to use external javascript file for displaying dates and birthdays. I inserted this code to ATO - Add HTML/ CSS inserts/ HTML Inserts: Header:

HTML Code:
<div id="svatek">
<script src="http://hybrid007.ic.cz/wp-content/themes/atahualpa367/js/svatek2.js" type="text/javascript" language="JavaScript"> </script>
Script is showing (in the right corner is text "Dnes je...") - but as you can see - Czech characters (as "", "č" or "ř") are not displaying - I tried setting charset as utf-8 in the header.php and in other places, but none of them worked...
Really appreciate any help!

Last edited by Punc00; Aug 17, 2011 at 04:16 AM.
Old Aug 17, 2011, 04:56 AM
juggledad's Avatar
22,379 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
It looks like you don't have the 3.6.7 PATCHES applied, start by applying them all. Here are the links.
  • PATCH 367-01: Odd effects when 'CSS: Compress' = 'Yes'
  • PATCH 367-02 is incorporated in PATCH 367-04
  • PATCH 367-03: PHP errors when adding widget areas in index.php
  • PATCH 367-04: Hovering over a Post/Page title only shows "Permanent Link to"
  • PATCH 367-05: Site Title appended after the 'WordPress SEO by Yoast' title

this might also help http://www.meanfreepath.com/support/..._charsets.html
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Aug 17, 2011 at 05:20 AM.
Old Aug 17, 2011, 06:47 AM
166 posts · Sep 2010
Czech Rep.
Sorry and thanks juggledad! I didn't realized it! But even when patches were applied, issue remained.
Finally I got it - beginners mistake: when you want to save file from notepad as js file, remember to save it as UTF-8 (not as ANSI) and as a file-type: "all files" (not txt)!
So server and theme settings was alright, it was the js-file which caused this issue! Thanks juggledad again for your time!


charset, javascript, language

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Migrated a site now the Menus don't change CheezItMan Page & Category Menu Bars 1 Feb 8, 2011 04:15 AM
[SOLVED] Strange Issue - Search Box won't accept input. Steve41 Header configuration & styling 4 Jan 6, 2011 12:21 AM
How to change header image depending on language (using qTranslate) ? marsyg Header configuration & styling 5 Dec 27, 2010 09:58 AM
[SOLVED] !!! Site have changed own image and theme's setting don't affect to it. shus Plugins & Atahualpa 2 Jan 5, 2010 10:24 AM
Put the qTranslate language selector into the header or page menu DarrenNI Header configuration & styling 1 Jun 19, 2009 05:01 AM

All times are GMT -6. The time now is 09:05 AM.

Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.