Page 1 of 1

Eurozeichen wird nicht angezeigt.

Posted: 2005-07-22 20:50
by blnsnoopy26
Hi,

Und zwar habe ich da noch ein Rooti bei server4you, wo das â?¬ nicht angezeigt wird. statt dem â?¬ kommt da nur ein quadrat :(

Daher ich jetzt nicht genau weiss wonach ich hier suchen soll im forum, schreibe ich hier mal ein Thread.

wenn ich auf der konsole "locale" eingebe steht zwar alles auf "de_EURO", aber das â?¬ wird nicht angezeigt. Hatte das Problem schon einmal ist aber schon paar jahre her und weiss jetzt nicht ganz genau, wo ich im system suchen soll.

Wie gesagt die erste anlaufstelle war die locale einstellung, dann habe ich mal via yast geschaut bei den Spracheinstellungen konnte da aber keine einstellung finden. Ich hoffe, dass ihr wisst was ich meine und mir bei diesem mini Problem mal kurz helfen könnt.

Re: Eurozeichen wird nicht angezeigt.

Posted: 2005-07-22 21:50
by superuser1
Hi...

du meinst, dass das Eurozeichen auf der Konsole nicht angezeigt wird?

Hast du auch die entsprechende Charmap gesetzt?

:roll:

Re: Eurozeichen wird nicht angezeigt.

Posted: 2005-07-22 23:51
by blnsnoopy26
Hi,

Jo auf der konsole geht es auch nicht, aber hauptsächlich geht es mir direkt auf meine webseiten von meiner Homepage.

Wenn ich auf meiner webseite ein "â?¬" schreibe erscheint nur ein "[]" <-- denk dir das als quadrat. Auf der Konsole kommt nur ein "." <-- Punkt, wenn ich das "â?¬" machen möchte. Benutze hier putty.

Also das "locale" stimmt:

Code: Select all

rooti@kassel233:~> locale
LANG=de_DE@euro
LC_CTYPE="de_DE@euro"
LC_NUMERIC="de_DE@euro"
LC_TIME="de_DE@euro"
LC_COLLATE="de_DE@euro"
LC_MONETARY="de_DE@euro"
LC_MESSAGES="de_DE@euro"
LC_PAPER="de_DE@euro"
LC_NAME="de_DE@euro"
LC_ADDRESS="de_DE@euro"
LC_TELEPHONE="de_DE@euro"
LC_MEASUREMENT="de_DE@euro"
LC_IDENTIFICATION="de_DE@euro"
LC_ALL=
so sieht die /etc/sysconfig/language aus.
evtl. ist da ja was falsch eingestellt, nur komme ich da jetzt nicht drauf.

Code: Select all

## Path:        System/Environment/Language
## Description:
## Type:        string(POSIX,ca_ES.ISO-8859-1,ca_ES.UTF-8,cs_CZ.ISO-8859-2,cs_CZ.UTF-8,da_DE@euro,da_DK.ISO-8859-1,da_DK.UTF-8,de_DE@euro,de_DE.ISO-8859-1,de
## Default:     ""
## Config:      OpenOffice.org,groff,ispell,kde,kdm3,profiles,susehelp,susewm,tetex,wdm
#
#
# Local users will get RC_LANG as their default language, i.e. the
# environment variable $LANG . $LANG is the default of all $LC_*-variables,
# as long as $LC_ALL is not set, which overrides all $LC_-variables.
# Root uses this variable only if ROOT_USES_LANG is set to "yes".
#
RC_LANG="de_DE.UTF-8"

## Type:        string
## Default:     ""
#
# This variable will override all LC-variables!!
# Again, ROOT_USES_LANG must be set to "yes", if an effect on the superuser
# account is desired.
#
RC_LC_ALL=""

## Type:        string
## Default:     ""
#
# This defines the locale in which messages of programs and
# libraries with i18n-support should appear if a translated
# message catalog for the library or the program is installed.
# This also provides localized yes/no answers.
#
RC_LC_MESSAGES=""

## Type:        string
## Default:     ""
#
# This defines the locale for character handling and classification.
# The libc uses this value in language dependent function calls, such
# as e.g. uppercase/lowercase mapping of foreign characters.
#
RC_LC_CTYPE=""

## Type:        string
## Default:     ""
#
# This defines the locale for sorting strings and characters.
# It is used by the libc to obtain the alphabetical order of characters
# (e.g. for string comparisons).
#
RC_LC_COLLATE=""

## Type:        string
## Default:     ""
#
# This defines the locale for date and time output formats.
# i.e.: 06/09/1999 vs. 09.06.1999
#
RC_LC_TIME=""
## Type:        string
## Default:     ""
#
# This defines the locale in which messages of programs and
# libraries with i18n-support should appear if a translated
# message catalog for the library or the program is installed.
# This also provides localized yes/no answers.
#
RC_LC_MESSAGES=""

## Type:        string
## Default:     ""
#
# This defines the locale for character handling and classification.
# The libc uses this value in language dependent function calls, such
# as e.g. uppercase/lowercase mapping of foreign characters.
#
RC_LC_CTYPE=""

## Type:        string
## Default:     ""
#
# This defines the locale for sorting strings and characters.
# It is used by the libc to obtain the alphabetical order of characters
# (e.g. for string comparisons).
#
RC_LC_COLLATE=""

## Type:        string
## Default:     ""
#
# This defines the locale for date and time output formats.
# i.e.: 06/09/1999 vs. 09.06.1999
#
RC_LC_TIME=""

## Type:        string
## Default:     ""
#
# This defines the locale for formatting and reading numbers.
# i.e.: 1,234.56 vs. 1.234,56
#
RC_LC_NUMERIC=""

## Type:        string
## Default:     ""
#
# This defines the locale for formatting and reading money values.
#
RC_LC_MONETARY=""

## Type:        string(ctype)
## Default:     ctype
#
# This defines if the user "root" should use the locale settings
# which are defined here.
# Value "ctype" means that root uses just LC_CTYPE.
#
ROOT_USES_LANG="ctype"
Charmap

Code: Select all

rooti@kassel233:~> locale charmap
ISO-8859-15
es steht da alles auf "de", daher versteh ich das ganze nicht. Ich komme auch nicht drauf, wie ich es damals gelöst hatte. War nur eine minieinstellung gewesen.

evtl. gibt mir da jemand den richtigen tip.

Re: Eurozeichen wird nicht angezeigt.

Posted: 2005-07-23 18:13
by blnsnoopy26
Hat denn keiner eine idee?
Ich komme da einfach nicht auf die Lösung :(

Re: Eurozeichen wird nicht angezeigt.

Posted: 2005-07-24 17:21
by mausgreck
blnsnoopy26 wrote:aber hauptsächlich geht es mir direkt auf meine webseiten von meiner Homepage.
Poste mal einen Link. Ich schätze, es stimmen Encoding von deiner Seite und der Content-Type header nicht überein...

Re: Eurozeichen wird nicht angezeigt.

Posted: 2005-07-24 17:36
by blnsnoopy26
Hi,

So habe mal eine testseite nur mit Eurozeichen gemacht.

test Link

da sieht man nur quardrate mehr nicht und im quelltext sind die richtigen â?¬ zeichen.

Re: Eurozeichen wird nicht angezeigt.

Posted: 2005-07-24 17:41
by Joe User

Code: Select all

Response Headers - http://www.micha.kassel233.server4free.de/test.html

Date: Sun, 24 Jul 2005 15:34:33 GMT
Server: Apache/2.0.53 (Linux/SUSE)
Last-Modified: Sun, 24 Jul 2005 15:31:57 GMT
Etag: "ccc035-1d0-ffd43540"
Accept-Ranges: bytes
Content-Length: 464
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=ISO-8859-15

200 OK
und...

Code: Select all

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
...passen nicht zusammen.

Re: Eurozeichen wird nicht angezeigt.

Posted: 2005-07-24 17:47
by blnsnoopy26
Hi,

Ich denke mal eher ist eine Serverseitige sache.
Ich benutze ein Clanscript von http://www.ilch.de und dort bei der clankasse, wenn ich das "â?¬" machen will kommen nur die besagten komischen teile.

WIe könnte man das jetzt beheben, ohne jetzt wirklich alles umschreiben zu müssen, was auch mühseelig währe.

Re: Eurozeichen wird nicht angezeigt.

Posted: 2005-07-24 17:57
by mausgreck
Sowas wie

Code: Select all

 AddDefaultCharset windows-1252
?

PS: Im 21. Jahrhundert ist utf-8 angesagt. :wink:

Re: Eurozeichen wird nicht angezeigt.

Posted: 2005-07-24 18:05
by blnsnoopy26
Hi,

Werd mal schauen, inwieweit ich da was ändern kann.
Wird wahrscheinlich mit bisserl arbeit verbunden sein, aber mal sehn.