charset - german vowel mutation prob

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
Arekusan
Posts: 4
Joined: Fri Feb 08, 2013 2:29 pm

charset - german vowel mutation prob

Post by Arekusan »

Hello to everybody,

I just started today with the HTML-Pad.

In the settings is UTF-8. In the HTML-Doc is
[list)<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />[/list]
set.

But still I got the german mutation 'ü' an an ? .

Does anybody knows where the problem could be?
I think it couldn't be a prob of the script, could it?

Thanks a lot
Alex
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: charset - german vowel mutation prob

Post by Aivars »

It should work: http://kaitnieks.com/images/umlaut.png
The problem must be somewhere else so I need more info to go on.
Blumentals Software Programmer
Arekusan
Posts: 4
Joined: Fri Feb 08, 2013 2:29 pm

Re: charset - german vowel mutation prob

Post by Arekusan »

Hello,
thanks for your reply.

What info do you need ?
There are a few javaScripts and two css more
The mutation is in the javascript file
  • function init(){
    // left panel controls
    controls();
    $jit.id('max-levels').style.display = 'none';
    // init data
    var json = {
    "name": "Interview vom 20.11.2012",
    "id": "root",
    "children": [
    {
    "name": "Wünsche",
    "id": "2150432120-palbo",
    "children": [
    {
    "name": "sinnvolleren Einsatz",
    "id": "2150432080-homebrew",
    "children": [
    {
    "name": "2 SuS mit MacBook",
    "id": "2150426340-share",
[/list]
the html just 'calls' the *.js.

:?: I wonder: Just by writing the relpy: I made a 'mistake' I opend the *.html not in the viewer, but rather in the real Firefox - there is anything fine. For that I closed HTML Pad, opend it again and here we are - anything fine! :roll:

I was sure there wasn't any mistake, but it's the first try with this programm ... so I was not sure if I have to do anything else.

As I said: Thanks a lot for your effort! And sorry for those silly questions :?
alex
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: charset - german vowel mutation prob

Post by Aivars »

Ah, the .js file might have been stuck in cache with the wrong encoding. Make sure you always use UTF-8 without BOM for all JavaScript files, less problems that way.
Blumentals Software Programmer
Arekusan
Posts: 4
Joined: Fri Feb 08, 2013 2:29 pm

Re: charset - german vowel mutation prob

Post by Arekusan »

thanks for the reminder :) I will look carefully after that

alex
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: charset - german vowel mutation prob

Post by Aivars »

You can make it easier by setting Options -> Preferences -> Files -> Encoding for new files: UTF-8 without BOM and turn on Open ANSI files as UTF-8 without BOM.
Blumentals Software Programmer
Post Reply