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%)
|
Thanks for the suggestion Mandragorek - but no luck (IMG:style_emoticons/default/sad.gif)
dariuszp - thanks for the suggestion. The meta tags are all utf 8, charsets are all UTF 8 on all pages -php and html database: MySQL charset: UTF-8 Unicode (utf8) MySQL connection collation: utf-8_unicode_ci I tried preg_replace and used htmlspecialchars but it still didn't work. I tried changing the charset to iso-8859-2 and that just messed up the whole page LATEST NEWS********* The code now looks like:
This now produces a blank field rather than symbols - any ideas what's going on? Ten post edytował doodlebug 17.09.2010, 13:56:35 |
|
|
|
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
doodlebug The problem happens before the Polish letters get ... 16.09.2010, 22:20:21
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
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: 29.12.2025 - 07:12 |