Quantcast
Channel: Active questions tagged utf-8 - Stack Overflow
Browsing all 1052 articles
Browse latest View live
↧

Convert HTML entities and special characters to UTF8 text in PHP

There are a lot of questions and documentation about converting HTML entities and special characters to UTF8 text in PHP. And also there is the PHP documentation itself, such as this...

View Article


Can you provide and example of utl_raw.convert + utl_raw.cast_to_varchar2?

Can somebody please tell me how the utl_raw.convert works with utl_raw.cast_to_varchar2 in Oracle 11g by giving a sample code as i am not able to find an example use case online.ThanksGautam

View Article


LookupError: unknown encoding: 'b'utf8''

I don't know why, but I am getting a lookup error with an unknown encoding found, 'b'utf8'' when I try to scrape and parse Walmart's web page.I have already set the encoding to utf-8 and also tried...

View Article

python jsonify dictionary in utf-8

I want to get json data into utf-8 I have a list my_list = []and then many appends unicode values to the list like this my_list.append(u'ტესტ')return jsonify(result=my_list)and it gets {"result":...

View Article

The from_utf8 Rust function cannot read some ASCII strings (invalid utf-8...

I am trying to convert a vector of ASCII bytes into a rust string. I found the std::str::from_utf8() function, that should be able to handle all ASCII strings. For some reason it cannot read the...

View Article


Emacs cannot display Polars DataFrame

When I try to print a Polars DataFrame in Emacs (Python & Elpy environment), I get the following error message:UnicodeEncodeError: 'charmap' codec can't encode characters in position 15-27:...

View Article

Why the need to `decode_utf8` LDAP attribute values in an UTF-8 enviromment?

I wrote a Perl program in an UTF-8 environment (LC_CTYPE="en_US.UTF-8", Emacs displays "UUU") that reads an UTF-8 encoded file, inserts some attribute values read from an OpenLDAP server, and then...

View Article

French characters not displaying correctly in PHP mail

I have a basic PHP mail form, but whatever I do, I cannot seem to get the characters to display correctly once sent, if the language is written with French accents.The example sentence I am using...

View Article


why does the character encoding of html source code needs to match the one...

the title very much describes the question, the html standard says explictly that the only value acceptable for meta charset tag is utf-8, and even the nu html checker throws an error if any else value...

View Article


How to detect and fix incorrect character encoding

A upstream service reads a stream of UTF-8 bytes, assumes they are ISO-8859-1, applies ISO-8859-1 to UTF-8 encoding, and sends them to my service, labeled as UTF-8.The upstream service is out of my...

View Article

c++ can't get "wcout" to print unicode, and leave "cout" working

can't get "wcout" to print unicode string in multiple code pages, together with leaving "cout" to workplease help me get these 3 lines to work together.std::wcout<<"abc...

View Article

WMIC command in batch outputting non UTF-8 text files

I'm using a WMIC command to output a list of SIDS and accompanying user profile names to text. From the text, I can edit a list of SIDS I need to add a set of registry keys to. However, the script that...

View Article

UTF-8 all the way through

I'm setting up a new server and want to support UTF-8 fully in my web application. I have tried this in the past on existing servers and always seem to end up having to fall back to ISO-8859-1.Where...

View Article


Why does the character encoding of HTML source code need to match the one...

The title very much describes the question. The HTML standard says explicitly that the only value acceptable for the <meta charset> tag is UTF-8, and even the Nu Html Checker throws an error if...

View Article

Converting only non utf-8 files to utf-8

I have a set of md files, some of them are utf-8 encoded, and others are not (windows-1256 actually).I want to convert only non-utf-8 files to utf-8.The following script can partly do the job:for file...

View Article


What is the difference between UTF-8 and Unicode?

I have heard conflicting opinions from people - according to the Wikipedia UTF-8 page.They are the same thing, aren't they? Can someone clarify?

View Article

Is UTF-8 an encoding or a character set?

I thought that the name of the character set was "Unicode" and that "UTF-8" was the name of a particular encoding of the Unicode character set, but I often see the terms "encoding" and "charset" used...

View Article


MySQL: set column charset

I have an existing table and I want to convert the character set only for one specific column to UTF-8.I know that this command ALTER TABLE table_name CONVERT TO CHARACTER SET utf8 does it for the...

View Article

XElement & UTF-8 Issue

I have a .NET Web Service(.asmx, not .svc) that accepts a string via HTTP POST. The strings it accepts are xml infosets I then parse via XElement.Parse. Once parsed into an XElement instance, I add a...

View Article

getting wrong characters and "???" instead of Hebrew when trying to retrieve...

getting wrong characters and "???" instead of Hebrew when trying to retrieve folder path from VBA (by user browse selection)then plot it with question marksI've changed the locale and still happening.....

View Article
Browsing all 1052 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>