PHP Function chr() and ASP

guest2013-1

guest
Joined
Aug 22, 2003
Messages
19,800
Hey guys, messing around with PHP and classic ASP

I see in PHP you can:

Code:
<?php echo chr(226).chr(130).chr(172) ?>

And get the &euro; symbol

With ASP doing:

Code:
<% Response.Write chr(226) & chr(130) & chr(172) %>

Get's me a string of those 3 characters. It appears PHP is somehow adding those together for a symbol? Please get me to understand the difference!
 

guest2013-1

guest
Joined
Aug 22, 2003
Messages
19,800
Sticking with ISO characters only for now... until I can figure out a way to do the combining thing in ASP :)

Check out my blog soon for a JavaScript and classic ASP slug/permalink generator that mymics Wordpress kind of and gets you nice and neat slugs for your permalinks

Well, if you fancy that kind of thing ;)

Will probably write a jQuery plugin as soon as I catch some zzzz's
 
Top