How to UTF-8 Encode an URI? |
[eluser]developer10[/eluser]
[quote author="Cro_Crx" date="1247428415"]I'm not sure if you can have those special characters in a URL and read them correctly, i could be wrong though. It's not going to be as clean, although you could use urlencode. Although then you would have %something instead of the č character in your URI. I'm assuming you've set character encoding in your HTML/server headers?[/quote] well, i'm not sure about that since everything else regarding those characters renders well (both static and dynamic content), i think headers are OK i have this Code: header("Content-Type: text/html; charset=UTF-8"); in my view file, and also every file is saved with utf8 encoding (including controller and model) without BOM signature but, if you think headers should be set/sent in a different way, please post your suggestion, as this seems to be a huge problem for me. thanks |
Messages In This Thread |
How to UTF-8 Encode an URI? - by El Forum - 07-12-2009, 03:22 AM
How to UTF-8 Encode an URI? - by El Forum - 07-12-2009, 08:53 AM
How to UTF-8 Encode an URI? - by El Forum - 07-12-2009, 09:03 AM
How to UTF-8 Encode an URI? - by El Forum - 07-12-2009, 09:08 AM
How to UTF-8 Encode an URI? - by El Forum - 07-12-2009, 09:50 AM
How to UTF-8 Encode an URI? - by El Forum - 07-12-2009, 10:02 AM
How to UTF-8 Encode an URI? - by El Forum - 07-14-2009, 06:07 AM
How to UTF-8 Encode an URI? - by El Forum - 07-14-2009, 06:09 AM
How to UTF-8 Encode an URI? - by El Forum - 07-14-2009, 06:15 AM
How to UTF-8 Encode an URI? - by El Forum - 07-14-2009, 06:17 AM
How to UTF-8 Encode an URI? - by El Forum - 07-14-2009, 06:25 AM
How to UTF-8 Encode an URI? - by El Forum - 07-14-2009, 06:26 AM
How to UTF-8 Encode an URI? - by El Forum - 07-14-2009, 06:45 AM
|