Print emoji/foreign characters in CLI/shell/Terminal using PHP
When I run a script in the terminal containing <?php echo "🚀पीएचपी";, it displays garbage characters instead of the emoji and foreign text. Specifically, it displays ≡ƒÜÇαñ¬αÑÇαñÅαñÜαñ¬αÑÇ. However, running a Node.js script containing console.log("🚀पीएचपी") correctly displays the emoji and the…