Skip to content
Advertisement

Tag: character-encoding

Why are the letters tantan rendering an emoji?

I am working on a laravel web application and in the word instantaneous, the letters tantan are being replaced by an older looking emoji. Capitalizing any of the six letters breaks the emoji. This web app is running on laravel 8.4 and this problem could not be replicated on two other apps running laravel 5.8. For now I’m just using

Character encoding issue with PHP/MySQL

I have a web application I have been developing locally on my computer, I have recently launched it on my web server with the exact same settings for MySQL, but for some reason I am encountering a character encoding issue where “smart quotes” (’) are being displayed as black triangles with question marks (�), but only on the server. This

PHP reversing a byte and printing it

I’m working with strings in PHP and the character ‘a’ in binary looks like this: 01100001. What I want to do is reverse this, which then becomes 10000110 and convert back to its text representation, but everytime I try it either gives me a ? or a blank square indicating a non-printable or invalid character. I tried online ASCII/UNICODE binary

encoding language fails

PHP code below fails to retrieve correct characters when used : echo $html = file_get_contents(“http://www.tsetmc.com/tsev2/data/instinfofast.aspx?i=65883838195688438&c=34+”); the result is : …

Tcpdf issue with display hindi language font

I am using Tcpdf PHP library to generate PDF. I got issue with display in Hindi language fonts in generated PDF. I have all things like fonts characters standards etc.. properly but my generated PDF contains ?????? instead of Hindi fonts. please have a look I have included my code here. please help to solve my issue. Answer Try this:

Encoding for SMS messages

I’m currently building an application which uses Nexmo to send SMS messages to users. But I’m experiencing some problems with the encoding of messages. Probably worth metioning; I’m using the prawnsalad/Nexmo-PHP-lib library to connect with their API. A simple text messages of 160 characters is divided into 3 separate messages. According to the Nexmo support, this is caused by the

Advertisement