ruxique
Založený: 29.01.2004
Príspevky: 6
Zaslal: 2004-01-29 10:27
Návrat hore
Odpovedať s citátom
|
It is any way (I am new in PHP) to show up on the table created by PHPMyEdit the special characters used in some languages?
Please help me, it is very important for me to do that.
Thanks in advance.
Ruxique
|
michal
Založený: 17.06.2003
Príspevky: 537
Bydlisko: Slovakia
Zaslal: 2004-01-29 13:24
Návrat hore
Odpovedať s citátom
|
you should properly declare encoding like:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
in your html head
see source code of this page (or almost any other page)
|
ruxique
Založený: 29.01.2004
Príspevky: 6
Zaslal: 2004-01-29 13:37
Návrat hore
Odpovedať s citátom
|
sorry to stress you, but it doesn't work.
I tryied also with Unicode, and nothing changes.
|
hbernard
Založený: 23.03.2003
Príspevky: 159
Bydlisko: FRANCE
Zaslal: 2004-01-29 14:18
Návrat hore
Odpovedať s citátom
|
What, exactly, doesn't work ?
Are special char well displayed in button but not in record display ?
Are special char well displayed in FORM input elements ?
Did you check what is stored in the database ?
|
ruxique
Založený: 29.01.2004
Príspevky: 6
Zaslal: 2004-01-29 14:25
Návrat hore
Odpovedať s citátom
|
In the database everything looks ok. Special danish characters looks fine, but in the php file who displays the table, the characters are replaced with some strange thnigs.
If you have a little time, you can see with your own eyes what I mean.
http://www.eehlis.com/php/denmark.php
Thanks for help
Ruxique
|
hbernard
Založený: 23.03.2003
Príspevky: 159
Bydlisko: FRANCE
Zaslal: 2004-01-29 14:58
Návrat hore
Odpovedať s citátom
|
- I don't know why you have some special chars before <html> tag. Remove this output...
- use this :
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
Making the two operations above, I can correctly view your page.
-Hugues
|
ruxique
Založený: 29.01.2004
Príspevky: 6
Zaslal: 2004-01-29 15:23
Návrat hore
Odpovedať s citátom
|
It is very strange what you say because I don't have any special characters before the <html> tag. ??
I put your meta tag in it's place but still doesn't work.
uffff :)
Ruxique
|
hbernard
Založený: 23.03.2003
Príspevky: 159
Bydlisko: FRANCE
Zaslal: 2004-01-29 15:26
Návrat hore
Odpovedať s citátom
|
| ruxique Napísal: |
It is very strange what you say because I don't have any special characters before the <html> tag. ??
|
- make a 'View Source' in your browser
There are some char before <html>
- remove them
- save the file locally
- view it in your browser.
It works for me, does it for you ?
|
ruxique
Založený: 29.01.2004
Príspevky: 6
Zaslal: 2004-01-29 15:41
Návrat hore
Odpovedať s citátom
|
Believe me, in any way I look to the file, I don't see any characters before the <html> tag. They are not in my file. It is crazy ...
Ruxique
|
hbernard
Založený: 23.03.2003
Príspevky: 159
Bydlisko: FRANCE
Zaslal: 2004-01-29 16:33
Návrat hore
Odpovedať s citátom
|
| ruxique Napísal: |
Believe me, in any way I look to the file, I don't see any characters before the <html> tag. They are not in my file. It is crazy ...
Ruxique |
So you found it, because now the page is just displaying fine
|
ruxique
Založený: 29.01.2004
Príspevky: 6
Zaslal: 2004-01-29 17:38
Návrat hore
Odpovedať s citátom
|
The strange becomes more strange...
I see now that it works, but the last one hour the net server was down, that's why I couldn't send you the file.
And now I look and see that is working fine!!!
What can I say?
Thanks a lot for your help and for your time spent with me...
Ruxique
|
|
Odoslať novú tému
Odpovedať na tému
|