You are not logged in.

Announcement

Forum database was corrupt and an old backup was restored as temporary replacement. Registrations closed until the database is recovered. Please ask questions using the Contact form

#1 21-03-2013 14:39:18

kaeseschlemmer
Contributors
Registered: 18-03-2013
Posts: 3

Missing Letters

Hey Guys, I would need letters like "ä(ae), ö(oe), ü(ue) and ß(ss)".
But when I use those letters there is always a questionmark instead...
Is there a way to solve this Problem?
Thank You, Markus :-)

Offline

#2 21-03-2013 18:28:39

Thomas
Administrator
Registered: 10-03-2013
Posts: 897

Re: Missing Letters

Please try opening the file js/inc/main.js and go to line 115 and replace
$content.html(newContent);   
with
$content.html(decodeURIComponent(newContent));

Also be sure your text editor saves as UTF-8

Offline

#3 04-04-2013 12:00:54

kaeseschlemmer
Contributors
Registered: 18-03-2013
Posts: 3

Re: Missing Letters

Thank you for help. The Problem has been solved. smile

Offline

#4 03-06-2013 17:48:10

Pie
Contributors
From: Germany
Registered: 17-03-2013
Posts: 366
Website

Re: Missing Letters

Hi Thomas,

Thomas wrote:

Please try opening the file js/inc/main.js and go to line 115 and replace
$content.html(newContent);   
with
$content.html(decodeURIComponent(newContent));

Also be sure your text editor saves as UTF-8

I have a similar problem but with v4.

I would need to have subnav pages with "ü".
Now, after editing the js/main.js and change the mentioned line, using an ü for example leads to the boxed questionmark.

When i put it like

<?php
$subNav = array(
	"R&uuml;ckruf ; callback.php ; #A83130;",
);

the ü will be displayed, but text gets cut after the ";" because of obvious reasons big_smile

Can you give me a hint on how to have an umlaut in these URLs?

regards
- Pie

Last edited by Pie (03-06-2013 17:52:04)

Offline

#5 03-06-2013 18:30:12

Pie
Contributors
From: Germany
Registered: 17-03-2013
Posts: 366
Website

Re: Missing Letters

Little sidenote:

I had to restore the original js/main.js, since the pages didn't work anymore with the change i made.

Offline

#6 03-06-2013 18:58:57

Thomas
Administrator
Registered: 10-03-2013
Posts: 897

Re: Missing Letters

Maybe the easiest solution is just to change the character that would split the string? You can do that on inc/essentials.php line 8. Replace the ";" by anything else.

Or isn't that enough?

Offline

#7 03-06-2013 20:03:25

Pie
Contributors
From: Germany
Registered: 17-03-2013
Posts: 366
Website

Re: Missing Letters

Well,

it might be a quick and dirty :-)

Considering i have some 40 pages of content i would have to change all the links in the files.
Besides, on the longrun, I won't be the only one in need of that feature :-)

Would there be some other way?

- Pie

Last edited by Pie (03-06-2013 20:03:44)

Offline

#8 04-06-2013 19:53:12

Thomas
Administrator
Registered: 10-03-2013
Posts: 897

Re: Missing Letters

You could also replace the ";" by " ;"
which would mean that it only split the string if there's a space in front of the ;

Offline

#9 04-06-2013 20:54:30

Pie
Contributors
From: Germany
Registered: 17-03-2013
Posts: 366
Website

Re: Missing Letters

Very cool big_smile

Offline

Board footer

Powered by FluxBB