Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, November 11, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  Special characters

phpMyEdit General     Special characters
Post new topic   Reply to topic    
 
ruxique     Joined: 29 Jan 2004   Posts: 6  
Post Posted: 2004-01-29 10:27
Back to top  Reply with quote     

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     Joined: 17 Jun 2003   Posts: 537   Location: Slovakia
Post Posted: 2004-01-29 13:24
Back to top  Reply with quote     

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     Joined: 29 Jan 2004   Posts: 6  
Post Posted: 2004-01-29 13:37
Back to top  Reply with quote     

sorry to stress you, but it doesn't work.

I tryied also with Unicode, and nothing changes.

 
hbernard     Joined: 23 Mar 2003   Posts: 159   Location: FRANCE
Post Posted: 2004-01-29 14:18
Back to top  Reply with quote     

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     Joined: 29 Jan 2004   Posts: 6  
Post Posted: 2004-01-29 14:25
Back to top  Reply with quote     

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     Joined: 23 Mar 2003   Posts: 159   Location: FRANCE
Post Posted: 2004-01-29 14:58
Back to top  Reply with quote     

ruxique wrote:

If you have a little time, you can see with your own eyes what I mean.
http://www.eehlis.com/php/denmark.php


- 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     Joined: 29 Jan 2004   Posts: 6  
Post Posted: 2004-01-29 15:23
Back to top  Reply with quote     

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     Joined: 23 Mar 2003   Posts: 159   Location: FRANCE
Post Posted: 2004-01-29 15:26
Back to top  Reply with quote     

ruxique wrote:
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     Joined: 29 Jan 2004   Posts: 6  
Post Posted: 2004-01-29 15:41
Back to top  Reply with quote     

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     Joined: 23 Mar 2003   Posts: 159   Location: FRANCE
Post Posted: 2004-01-29 16:33
Back to top  Reply with quote     

ruxique wrote:
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     Joined: 29 Jan 2004   Posts: 6  
Post Posted: 2004-01-29 17:38
Back to top  Reply with quote     

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

 
Post new topic   Reply to topic    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy