Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

Old Aug 17, 2011, 02: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 03:16 AM.
Old Aug 17, 2011, 03:56 AM
juggledad's Avatar
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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 04:20 AM.
Old Aug 17, 2011, 05: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 03:15 AM
[SOLVED] Strange Issue - Search Box won't accept input. Steve41 Header configuration & styling 4 Jan 5, 2011 11:21 PM
How to change header image depending on language (using qTranslate) ? marsyg Header configuration & styling 5 Dec 27, 2010 08:58 AM
[SOLVED] !!! Site have changed own image and theme's setting don't affect to it. shus Plugins & Atahualpa 2 Jan 5, 2010 09:24 AM
Put the qTranslate language selector into the header or page menu DarrenNI Header configuration & styling 1 Jun 19, 2009 04:01 AM

All times are GMT -6. The time now is 11:52 PM.

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