Post
#1
|
|
|
Grupa: Zarejestrowani Postów: 7 Pomógł: 0 Dołączył: 16.09.2010 Ostrzeżenie: (0%)
|
Hello All!
Apologies for my lack of Polish and apologies if this has gone in the wrong forum. I'm creating a website where you enter your details in text boxes on an .html page, which you then review on a .php page. Everything has been changed to utf-8. The problem is when you enter Polish characters in the text box, on the next page when you review the information and say whether it's good or not, the Polish characters show up as "Auml�Auml�Auml�Aring�" Any idea what the problem could be? Many thanks in advance |
|
|
|
![]() |
Post
#2
|
|
|
Grupa: Zarejestrowani Postów: 7 Pomógł: 0 Dołączył: 16.09.2010 Ostrzeżenie: (0%)
|
The problem happens before the Polish letters get to the DB. The process is like this:
index.html -> where you enter Polish characters in text fields review.php -> you check to see if your info is correct **This is where I have the problems with the letters** submit.php -> info is sent to DB The code on review.php is
|
|
|
|
doodlebug Problems with Polish letters 16.09.2010, 21:15:31
mrok Maybe you keep this info in DB which is not set as... 16.09.2010, 22:14:15
koreja Check the file encoding and set it at utf-8, next ... 16.09.2010, 22:39:03
mandragorek I think the problem is with htmlentities. Insert i... 17.09.2010, 11:49:41
doodlebug Thanks for answering, however I'm a complete i... 17.09.2010, 13:04:20
mandragorek I thought about
[PHP] pobierz, plaintext $firstnam... 17.09.2010, 13:13:40
dariuszp Hi,
first of all, use preg_replace because ereg is... 17.09.2010, 13:26:59
doodlebug Thanks for the suggestion Mandragorek - but no luc... 17.09.2010, 13:50:18
goran Hey,
First of all look at the source code of your... 17.09.2010, 14:47:46
doodlebug Hi Goran - the extra line made no difference
Sou... 17.09.2010, 16:08:23
dariuszp Hmmm... if all files, database and website use UTF... 17.09.2010, 16:16:19
Pilsener Hello. I know problem with local artificial letter... 17.09.2010, 20:49:37
mrok Try use var_dump(variable) in few lines in your co... 17.09.2010, 21:07:48 ![]() ![]() |
|
Aktualny czas: 28.12.2025 - 14:19 |