[phpBB Debug] PHP Notice: in file /viewtopic.php on line 981: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 981: getdate(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead
Tynsoe Projects • View topic - Problems displaying German umlauts [GeekTool 3.0 (130)]

Problems displaying German umlauts [GeekTool 3.0 (130)]

Problems displaying German umlauts [GeekTool 3.0 (130)]

Postby harakiri » Mon May 31, 2010 1:28 pm

Hi,

I'm using sh-rss-feed Script to fetch data from my RSS Feed. Unfortunately special chars (German umlauts) are not showing up. (see image)

Image

If I use the terminal to fetch news, there is no problem:

Image

Don't know what I'm doing wrong.. but here another screenshot from my geeklet settings:

Image

I am using the last nightly build from here - GeekTool 3.0 (130)

Best regards,
Christian
harakiri
 
Posts: 4
Joined: Mon May 31, 2010 1:20 pm

Re: Problems displaying German umlauts [GeekTool 3.0 (130)]

Postby ybizeul » Tue Jun 01, 2010 6:57 am

Did you try annoter font ?
Maybe the encoding is not UTF8 but it would be weird.
ybizeul
Site Admin
 
Posts: 133
Joined: Fri Jan 22, 2010 4:34 pm

Re: Problems displaying German umlauts [GeekTool 3.0 (130)]

Postby harakiri » Tue Jun 01, 2010 8:58 am

Good hint, but unfortunately it doesnt solve the problem :(

It's Helvetica Neue. Tried it with Verdana etc.. same problem.

Regards,
Christian

btw: really nice work!
harakiri
 
Posts: 4
Joined: Mon May 31, 2010 1:20 pm

Re: Problems displaying German umlauts [GeekTool 3.0 (130)]

Postby harakiri » Tue Jun 01, 2010 4:21 pm

Something interesting:

if I use only the curl command all special chars are just showing up fine (within geektool shell window) .. so I guess there may be a bug in the rss-script itself... but why can I see all special chars printed from the script in the terminal?!

a little bit confused...
harakiri
 
Posts: 4
Joined: Mon May 31, 2010 1:20 pm

Re: Problems displaying German umlauts [GeekTool 3.0 (130)]

Postby harakiri » Tue Jun 01, 2010 4:38 pm

Ok, I was able to locate the bug: it seems to be a problem when using "fmt" in geeklet script. Terminal was just fine - but in the geeklet no special chars.

Any idea why the geeklet has this behavior?

Here a short code for testing:

Code: Select all
echo "späciäl chärs" | fmt -w 5
->
"spcil
chrs"

echo "späciäl chärs"
->
"späciäl chärs"
harakiri
 
Posts: 4
Joined: Mon May 31, 2010 1:20 pm

Re: Problems displaying German umlauts [GeekTool 3.0 (130)]

Postby dualaud » Thu Jun 03, 2010 1:40 pm

Same Problem here, but only with certain RSS feeds namely:

http://www.spiegel.de/index.rss
or
http://tagesschau.de/xml/rss2

If I disable 'Set locale Environment' I get the whole RSS (the shell displays the text with missing Umlauts and ß, so 'die früheren Besitzer des Autos' is displayed as 'die frheren Besitzer des Autos' for example), and if I enable 'Set locale Environment' the text is displayed until it encounters an Umlaut or ß. The text just ends there. (example: 'Die früheren Besitzer des Autos', is displayed as 'Die fr')


It is working with:
http://d.yimg.com/bw/rss/

I have no idea why, though.

cheers,
dual



.
dualaud
 
Posts: 1
Joined: Thu Jun 03, 2010 1:22 pm

Re: Problems displaying German umlauts [GeekTool 3.0 (130)]

Postby ybizeul » Sat Jun 05, 2010 4:59 pm

I'll take a look into it.
Would you mind filing a bug report on geektool3.tynsoe.org ?

Thanks !
ybizeul
Site Admin
 
Posts: 133
Joined: Fri Jan 22, 2010 4:34 pm


Return to GeekTool

Who is online

Users browsing this forum: No registered users and 8 guests

cron