|
#1
|
|||
|
|||
|
Hi
I have problem with specials symbols, like č,š,ž. How to I convert them so that searching in db is possible? if we take example letter - š. In database is stored like š and š in link converts to %B9. I tried str_replace but doesn't work, no results, even though everything else works (standard characters). But the bigger problem is that Ž is converted to ® and ž to ¾. Should I change input so this is converted to ascii? |
|
#2
|
||||
|
||||
|
I would absolutely store all odd glyphs as ascii before insertion.
__________________
Scott Moderator : Macintosh : Website & Graphics Adobe Certified Expert: Illustrator Royalty-Free Vector Stock Art |
|
#3
|
|||
|
|||
|
and I did this, because then I can use this in search. But I have different problem. I'm using charset UTF-8, which is as I know the most common. All ascii symbols work now, but in source code I see them as ascii, so č, but on page I see letter č. I'm little bit worried and I would like that it's converted somehow in source code, because if I use ascii in maybe define(), it's converted nicely also in source code.
|
|
#4
|
|||
|
|||
|
I checked the source code of this forum and it's built same as my cms, so if it works here, it will work also for me..
can somebody at least point me to where I can get some info about link converting like blank space is in url converted to %20 and I have strange felling that I'm always finding new ones for my symbols... |
|
#5
|
||||
|
||||
|
__________________
Scott Moderator : Macintosh : Website & Graphics Adobe Certified Expert: Illustrator Royalty-Free Vector Stock Art |
|
#6
|
|||
|
|||
|
I have also found this
http://www.nightwing.com.au/Webdesign/symbols.html What about symbols like Č, Ć, š etc I'm getting this symbols when I'm inputting, can I somehow obtain them in better way, because right now I'm making a list in function and I'm always finding new symbols I need to convert and it's driving me crazy Last edited by FrEaKmAn; August 23rd, 2007 at 06:42 PM. |
|
#7
|
|||
|
|||
|
one question
if I use this function, this is for letter š str_replace(chr(154), '', $text); 1. Why is this working only with charset iso-8859-1 2. If I convert this, won't there be a possibility for security whole, as symbols &, # can mess something up, or not?? |
|
#8
|
|||
|
|||
|
does anybody know how to convert nonstandard characters to standard ones?
č => c š => s etc |
![]() |
| Bookmarks |
«
Previous Topic
|
Next Topic
»
| Topic Tools | |
|
|
All times are GMT +1. The time now is 09:11 AM.
[
RSS ]








