r/PHPhelp • u/NoNatural9149 • Nov 25 '24
Solved Unicode Code Point calculation for mb_chr?
Hi, I'll include my code. I'm wondering what I'm doing wrong. I'm trying to display individual sets of unicode characters, but it isnt producing the correct results. It should be able to display emoticons when '10' (base 16) is selected. It doesn't. I've tried it using <<, + and *. I've also tried without a charset specifier, with iso 8859-1? and UTF-8. I think I'm doing something incorrectly, but not sure where my error may be. Thanks everybody!
Sorry, my bad.
Pastebin: https://pastebin.com/YM8i4xjs
On VPS: https://tecreations.ca/ca/tecreations/UnicodeTest2.php
Code on VPS: https://tecreations.ca/ca/tecreations/ViewFile.php?path=ca/tecreations/UnicodeTest2.php
1
u/HolyGonzo Nov 25 '24
You need to use pastebin instead of putting all your code into your post.
0
u/[deleted] Nov 25 '24
[deleted] — view deleted comment