Funny DB characters
-
- Registered User
- Posts: 8346
- Joined: 10 May 2006, 02:00
- Processor: Intel i5-3750
- Motherboard: Gigabyte
- Graphics card: nVidia GTX 550Ti
- Memory: 8GB Jetram
- Contact:
Funny DB characters
I have a character in the database ö that returns as �.
Is there any way I can fix this? I'm using php5 and MySQL.
It's supposed to read Dölling and not D�lling
Is there any way I can fix this? I'm using php5 and MySQL.
It's supposed to read Dölling and not D�lling
-
- Registered User
- Posts: 14085
- Joined: 06 Oct 2004, 02:00
- Location: Location, Location...
- Contact:
Re: Funny DB characters
What char-set are you using? Should be utf8 from what I can gather from Google?
-
- Registered User
- Posts: 8346
- Joined: 10 May 2006, 02:00
- Processor: Intel i5-3750
- Motherboard: Gigabyte
- Graphics card: nVidia GTX 550Ti
- Memory: 8GB Jetram
- Contact:
Re: Funny DB characters
Yeah that's what I saw on google as well.
Changed it to utf8_bin because that's the closest to utf8 that phpmyadmin offers...
Changed it to utf8_bin because that's the closest to utf8 that phpmyadmin offers...
-
- Registered User
- Posts: 8346
- Joined: 10 May 2006, 02:00
- Processor: Intel i5-3750
- Motherboard: Gigabyte
- Graphics card: nVidia GTX 550Ti
- Memory: 8GB Jetram
- Contact:
Re: Funny DB characters
any help??
-
- Registered User
- Posts: 26022
- Joined: 13 May 2004, 02:00
- Location: Getting there...
- Contact:
Re: Funny DB characters
As a matter of interest DR - where is the � returned?
MOOD - Thirsty
A surprising amount of modern pseudoscience is coming out of the environmental sector. Perhaps it should not be so surprising given that environmentalism is political rather than scientific.
Timothy Casey
A surprising amount of modern pseudoscience is coming out of the environmental sector. Perhaps it should not be so surprising given that environmentalism is political rather than scientific.
Timothy Casey
-
- Registered User
- Posts: 8346
- Joined: 10 May 2006, 02:00
- Processor: Intel i5-3750
- Motherboard: Gigabyte
- Graphics card: nVidia GTX 550Ti
- Memory: 8GB Jetram
- Contact:
Re: Funny DB characters
After coming from the DB. In the database itself it reflects as the o with the kolletjies on.
In my header I've also set the page to utf8
In my header I've also set the page to utf8
- Tribble
- Registered User
- Posts: 88465
- Joined: 08 Feb 2007, 02:00
- Processor: Intel Core i7-4770K CPU@3.50GHz
- Motherboard: ACPI x64-based PC
- Graphics card: GeForce GTX 780 Ti
- Memory: 16GB
- Location: Not here
- Contact:
Re: Funny DB characters
And it is a fontset that your PDF program has?
-
- Registered User
- Posts: 26022
- Joined: 13 May 2004, 02:00
- Location: Getting there...
- Contact:
Re: Funny DB characters
No - what I mean is where are you viewing it as � ?
If the database "reflects [it] as the o with the kolletjies on", then whatever you are using to view it that shows the funny character must be at fault?
If the database "reflects [it] as the o with the kolletjies on", then whatever you are using to view it that shows the funny character must be at fault?
MOOD - Thirsty
A surprising amount of modern pseudoscience is coming out of the environmental sector. Perhaps it should not be so surprising given that environmentalism is political rather than scientific.
Timothy Casey
A surprising amount of modern pseudoscience is coming out of the environmental sector. Perhaps it should not be so surprising given that environmentalism is political rather than scientific.
Timothy Casey
-
- Registered User
- Posts: 14338
- Joined: 04 Sep 2004, 02:00
- Processor: i386DX Sooper
- Motherboard: A blue one
- Graphics card: A red one
- Memory: Hard drive
- Location: On a Möbius strip
- Contact:
Re: Funny DB characters
Umlaut O.doo_much wrote:"o with the kolletjies on"
If I weren't insane: I couldn't be so brilliant! - The Joker
-
- Registered User
- Posts: 26022
- Joined: 13 May 2004, 02:00
- Location: Getting there...
- Contact:
Re: Funny DB characters
Wisedonkey...
MOOD - Thirsty
A surprising amount of modern pseudoscience is coming out of the environmental sector. Perhaps it should not be so surprising given that environmentalism is political rather than scientific.
Timothy Casey
A surprising amount of modern pseudoscience is coming out of the environmental sector. Perhaps it should not be so surprising given that environmentalism is political rather than scientific.
Timothy Casey
-
- Registered User
- Posts: 8346
- Joined: 10 May 2006, 02:00
- Processor: Intel i5-3750
- Motherboard: Gigabyte
- Graphics card: nVidia GTX 550Ti
- Memory: 8GB Jetram
- Contact:
Re: Funny DB characters
doo, I don't understand exactly what you mean.
It's in a php page that is being called by ajax. It basically loads the employee list from the DB and then displays it. There where it is displayed in the page it displays as hat funny character.
It's in a php page that is being called by ajax. It basically loads the employee list from the DB and then displays it. There where it is displayed in the page it displays as hat funny character.
-
- Registered User
- Posts: 26022
- Joined: 13 May 2004, 02:00
- Location: Getting there...
- Contact:
Re: Funny DB characters
What I mean is that if the "Umlaut O" (thanks Blade) i OK in the database, then obviously whatever you are using to view it is fubar?
And since you're using php I'm assuming there's a stylesheet involved somewhere? And maybe whatever font is specified in there doesn't support the "Umlaut O"?
As I said - merely guessing and assuming here...
And since you're using php I'm assuming there's a stylesheet involved somewhere? And maybe whatever font is specified in there doesn't support the "Umlaut O"?
As I said - merely guessing and assuming here...
MOOD - Thirsty
A surprising amount of modern pseudoscience is coming out of the environmental sector. Perhaps it should not be so surprising given that environmentalism is political rather than scientific.
Timothy Casey
A surprising amount of modern pseudoscience is coming out of the environmental sector. Perhaps it should not be so surprising given that environmentalism is political rather than scientific.
Timothy Casey
-
- Registered User
- Posts: 8346
- Joined: 10 May 2006, 02:00
- Processor: Intel i5-3750
- Motherboard: Gigabyte
- Graphics card: nVidia GTX 550Ti
- Memory: 8GB Jetram
- Contact:
Re: Funny DB characters
I'm using verdana... Pretty sure it supports it...
Anyhow, I've decided to parse weird characters out and just show them without any umlauts...
Anyhow, I've decided to parse weird characters out and just show them without any umlauts...