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

ProtoDataStore Crash on Firebase (Prod)

Fatal Exception: com.google.protobuf.n1: Protocol message had invalid UTF-8Description:I'm encountering a recurring crash in my Android app (prod only) related to DataStore and Protocol Buffers. The...

View Article


Image may be NSFW.
Clik here to view.

Reading UTF-8 texts in PowerPoint via VBA, for export to another software...

I want to read all text in a PowerPoint file using VBA, and write them to external file (or some other way) to use in another Software.I wrote this code:Sub ReadFileText() On Error Resume Next Dim shp...

View Article


Reading emojis using WinAPI console functions returns UTF-8 Replacement...

For a project of mine I need to be able to read all possible MBCS UTF-8 codepoints from the Windows console. As it is well known that Windows works internally with wchar_t (UTF-16), I tried an approach...

View Article

Converting unicode string to utf-8

Firstly, I am aware that there are tons of questions regarding en/de-coding of strings in Python 2.x, but I can't seem to find a solution to this problem.I have a unicode string, that contains letter č...

View Article

How to convert string to wstring?

I know C++ has converter. But to know how memory is working i should know why i can not do that:#include <iostream>#include <cstring>int main() { const char* text = "hello"; std::wstring*...

View Article


What is the difference between utf8mb4 and utf8 charsets in MySQL?

What is the difference between utf8mb4 and utf8 charsets in MySQL?I already know about ASCII, UTF-8, UTF-16 and UTF-32 encodings;but I'm curious to know whats the difference of utf8mb4 group of...

View Article

Perl to convert normal letter to wide character

How for perl to convert from halfwidth to fullwidth form? In perl's term, from normal character to wide character.E.g., from !abc ABC! to !abc ABC!.Arithmetically, the following should be...

View Article

Image may be NSFW.
Clik here to view.

Why cant JTextArea show arabic [duplicate]

I have a file encoded as UTF-8, the problem line is39b3efee-e5c8-428e-94f3-74740220c618 = หลวงประดิษฐไพเราะ (ศรศิลปบรรเลง)On Windows displays fine in Notepad application,But when I load it into a Java...

View Article


How to transcode UTF-8 csv file to be openable in Excel with a double-click...

I have the following CSV file: Hèllo,"ab - привет" (echo 'SMOobGxvLCJhYiAtINC/0YDQuNCy0LXRgiINCg==' | base64 --decode > bug.csv)Opening it on Windows with Excel app via double-click, it shows the...

View Article


Unicode (utf-8) with git-bash

I'm having some trouble getting unicode to work for git-bash (on windows 7). I have tried many things without success. Although, I'm not quite sure what is responsible to for this so i might be working...

View Article

Printing out unicode from Java code issue in windows console

I have got a problem with printing out a unicode symbol in the windows console. Here's the java code that prints out the unicode symbol value; System.out.print("\u22A2 ");The problem doesn't exist when...

View Article

How to fix ANSII character in SQL Server table to UTF-8

I have a data import process to import data from csv file into a table in SQL server.I have noticed that some columns contain some accented characters.For example I have noticed the following text in...

View Article

Is there an Unreal C++ function to parse a byte array to an FString with...

I am working on an Unreal Engine 5 project where I need to parse binary files. These files contain text encoded in Shift-JIS, as opposed to UTF-8 encoding. My goal is to convert a byte array from this...

View Article


How do i decode this string? \xc3\x99\xc3\xa9\xc2\x87-B[x\xc2

This is what I need to decode\xc3\x99\xc3\x99\xc3\xa9\xc2\x87-B[x\xc2\x99\xc2\xbe\xc3\xa6\x14Ez\xc2\xabit is generated by String.fromCharCode(arrayPw[i]);but i don't understand how to decode it...

View Article

Convert normal letter to wide character

How for perl to convert from halfwidth to fullwidth form? In perl's term, from normal character to wide character.E.g., from !abc ABC! to !abc ABC!.Arithmetically, the following should be...

View Article


Database UTF-8 encoding problem when trying to retrieve data from spring boot...

My Oracle Database does not support utf-8 encoding, however some tables column values still consists of utf-8 characters. it is inserted using N text literal. So my goal is to be able to filter this...

View Article

Using UTF-8 with echo command in batch [closed]

I am trying to improve the well-known BatchCraft. It is going well so far but I need help with hex code. In their code what they did for the double line border but the same characters are not working...

View Article


How is character encoding specified in a multipart/form-data HTTP POST request?

The HTML 5 specification describes an algorithm for selecting the character encoding to be used in a multi-part form submission (e.g. UTF-8). However, it is not clear how the selected encoding should...

View Article

Image may be NSFW.
Clik here to view.

Failure to correctly display languages ​other than English when converting...

In my project, I need to convert html to pdf. The language of my website is Farsi. The code I have to convert html to pdf and download it:I added fonts to html2pdf and also Base64 but the Farsi text is...

View Article

Image may be NSFW.
Clik here to view.

How to save non-Ascii characters in redis HMSET?

I'd like to save Arabic characters like سلام in a redis hash, like this:HMSET arabicHash "سلام" 5OKBut the result is not as intended:127.0.0.1:6379> HGETALL arabicHash1)...

View Article
Browsing all 1052 articles
Browse latest View live