From: Sebastian Damm <lists@sdamm.de>
To: gentoo-user-de@lists.gentoo.org
Subject: Re: [gentoo-user-de] [OT] Daten fuer PHP und MySQL maskieren
Date: Thu, 11 Aug 2005 12:28:20 +0200 [thread overview]
Message-ID: <20050811122820.61d80636@mail.sdamm.de> (raw)
In-Reply-To: <20050811090845.5398.qmail@web50302.mail.yahoo.com>
[-- Attachment #1: Type: text/plain, Size: 1851 bytes --]
Hallo,
Am 11. August 2005 schrieb Jan C. Potthoff:
> Hmm .. ich habe im Meta-Tag der Skripte
> charset=ISO-8859-1, also latin1, angegeben
Das hat ja aber eigentlich nur was mit der Ausgabe für den Browser zu
tun, wenn ich da jetzt nix falsch verstehe. Und während der Bearbeitung
gibst du ja nix aus und dem System ist das glaub ich auch egal, ob und
was da im Meta-Tag steht. Ich denk, da zählt eher die Systemeinstellung.
> und MySQL sagt das:
> Server characterset: latin1
> Db characterset: latin1
> Client characterset: latin1
> Conn. characterset: latin1
> [...]
> </code>
Interessant, sowas sagts bei mir auch. Aber der locale-Befehl im System
sagt was ganz Andreas:
dams@eddie ~ $ locale
LANG=de_DE.utf8
LC_CTYPE="de_DE.utf8"
LC_NUMERIC="de_DE.utf8"
LC_TIME="de_DE.utf8"
LC_COLLATE="de_DE.utf8"
LC_MONETARY="de_DE.utf8"
LC_MESSAGES="de_DE.utf8"
LC_PAPER="de_DE.utf8"
LC_NAME="de_DE.utf8"
LC_ADDRESS="de_DE.utf8"
LC_TELEPHONE="de_DE.utf8"
LC_MEASUREMENT="de_DE.utf8"
LC_IDENTIFICATION="de_DE.utf8"
LC_ALL=de_DE.utf8
Bei meinem Webhoster das gleiche, in der Shell bekomm ich nur alles
korrekt angezeigt, wenn ich mein Putty auf UTF-8 einstelle, also nehm
ich das mal als locale an, kann ich aber nicht nachprüfen, der Befehl
ist gesperrt. Der MySQL-Status zeigt mir aber auch dort Latin1 als
Zeichensatz an, irgendwie trau ich der Ausgabe nicht. In der my.cnf
kann man auch nix in Bezug auf Zeichensatz einstellen.
Du kannst natürlich mal probieren, ob das mit den Sonderzeichen besser
wird, wenn Du die nach einem utf8_encode() in die Datenbank einträgst.
Nur so eine Idee.
Ciao
Sebastian
--
Sebastian Damm
Blog: http://blog.sdamm.de
GPG-Encrypted mail welcome! ID: 0x64D96827 @ pgpkeys.pca.dfn.de
Fingerprint: CB7F F23F D950 644D 838B 215A 550F 75EC 64D9 6827
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2005-08-11 10:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-11 7:10 [gentoo-user-de] [OT] Daten fuer PHP und MySQL maskieren Jan C. Potthoff
2005-08-11 8:07 ` Sebastian Damm
2005-08-11 9:08 ` Jan C. Potthoff
2005-08-11 10:28 ` Sebastian Damm [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050811122820.61d80636@mail.sdamm.de \
--to=lists@sdamm.de \
--cc=gentoo-user-de@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox