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

Wordpress shows /%EF%BB%BF/ in URL for template page

I stumbled across this problem today. Only one page of a wordpress template has this really strange URL http://www.mysite.nl/folder-x/%ef%bb%bfsander-john-en-marie-cecile/None of the other files that...

View Article


Displaying the hex value of a string from a oracle varchar2?

We are having problems with text that is encoded in some different ways but kept in a single column in a table. Long story. On MySQL, I can do select hex(str) from table where and I see the bytes of...

View Article


using std::filesystem with g++ 12.1.0 raises "Cannot convert character...

I'm upgrading my compiler from g++ 8.2.0 to 12.1.0.I have some legacy code using std::filesystem that starts failing with this upgrade.I isolated the problem in a MCVE below. The code is supposed to...

View Article

Convert codepoint to utf-8 byte array in Java using shifting operations

I have used this answer to "manually" convert from unicode to UTF-8 code units. The problem is that I need the resulting UTF-8 to be contained in a byte array. How can I do that by using shifting...

View Article

Golang string fuctions are off by two on some inputs [closed]

I have a set of audio and JSON files I got from ytdlp, and I'm trying to format them using the String package in Go. My code works for most of the audio files but for certain strings it seems to be off...

View Article


Subversion status PowerShell non-ASCII characters problem

I have a weird thing going on in my PowerShell script using Subversion commands. Following is an PowerShell example script: $svnOutput = svn status Write-Host "Output when saved in a variable"...

View Article

Inspect shows Charset Encoding of ISO even when i have mentioned UTF-8 in all...

When i open the menu of my web application, i use inspect > network tab and see that pdamnu.do file has charset encoding of ISO.Now in my pdamnu.jsp i have mentioned the encoding of utf-8<%@ page...

View Article

Encode String to HEX

i have my function to convert string to hex:function encode(str){ str = encodeURIComponent(str).split('%').join(''); return str.toLowerCase();}example:守护村子alert(encode('守护村子'));the output would...

View Article


Doris S3 TVF query report: Only support csv data in utf8 codec

I used the table value function function in Doris 2.1.8 version to query a file located on hdfs.When I used select *, the query was successful, but when I used select count(1), an error occurred. The...

View Article


Image may be NSFW.
Clik here to view.

UTF-8 does not print characters to the console

I have the following codepublic class MainDefault { public static void main (String[] args) { System.out.println("²³"); System.out.println(Arrays.toString("²³".getBytes())); }}But can't seem to print...

View Article

Reading non-ASCII UTF-8 character results in a NUL character

I want to read a string from the terminal and save it into a std::string as UTF-8.When writing characters like áéíóú (which occupy 2 bytes) they are read as a single NUL character.I tried this code in...

View Article

Unicode Decoding error when trying to generate pdf with non-ascii characters

I am working with some software that is generating an error when trying to create a pdf from html that contains non-ascii characters. I have created a much simpler program to reproduce the problem and...

View Article

Encode.pm UTF-8 vs utf-8 vs UTF8 code example does not work as I expected

I'm trying to understand the difference between UTF-8, utf-8, and UTF8 as described at the very bottom of Encode.pm.#!/usr/bin/perluse strict;use warnings;use Encode;printf "Perl: %s, Encode.pm: %s\n",...

View Article


Image may be NSFW.
Clik here to view.

What is the UTF-8 code for Android Voice mail icon/symbol?

I want to build the dialer and it got that strange voice mail icon under the latter 1. It seems like a text but I can't find it's code, I guess it's some special UTF-8 encoding.What it's code?

View Article

Why does C11 introduce char16_t and char32_t but not char8_t? And why does...

I've been learning about character types and Unicode support in different programming languages, and I have a few related questions about C11 and Rust:In C11 and later standards, char16_t and char32_t...

View Article


How does terminal input encoding (e.g., Shift_JIS) get rendered — is it first...

I'm experimenting with different character encodings in my terminal and trying to understand the internal process of how input text is handled before it's rendered.Here’s what I want to confirm:Suppose...

View Article

Non-Latin characters in URLs - is it better to encode them or replace with...

We're implementing a blog for a site which supports six different languages and five of them have non-Latin characters in their alphabets. We are not sure whether we should have them encoded (that is...

View Article


TVF query report: Only support csv data in utf8 codec

I used the table value function function in Doris 2.1.8 version to query a file located on hdfs.When I used select *, the query was successful, but when I used select count(1), an error occurred. The...

View Article

Image may be NSFW.
Clik here to view.

Git: Diff does not handles character encoding other than UTF-8?

Created a repo, added UTF8 and Latin2 encoded files with this content:árvíztűrő tükörfúrógépÁRVÍZTŰRŐ TÜKÖRFÚRÓGÉPSee on...

View Article

How to parse a .csv file containing Arabic characters [closed]

I am converting a CSV file which has only one column into PHP array. Csv column has some non-english characters such as arabic characters but PHP is reading english characters properly but arabic...

View Article
Browsing all 1223 articles
Browse latest View live


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