Questions tagged [utf-8]
UTF-8 is a character encoding that describes each Unicode code point using a byte sequence of one to four bytes. It is backwards-compatible with ASCII while still supporting representation of all Unicode code points.
utf-8
22,372
questions
0
votes
0
answers
6
views
Browser's behavior UTF-8 page with non UTF-8 character (ERROR by ajax) XML Parsing Error: not well-formed
We are developing some JSF web applications with PrimeFaces.
It is possible in inputText to copy paste text with non UTF-8 character like this:
xxxxx
and save the page. But there is an error in the ...
0
votes
0
answers
9
views
Docker read files from network drive with unicode characters in name
I have a .net application which runs in a Linux Docker conatainer.
I have mounted a Windows folder via network share.
Some file names contain Unicode characters (Georgian letters in my case) and I am ...
0
votes
0
answers
14
views
Python PyVISA UnicodeDecodeError
I would like to use a RIGOL MSO5000 Series Scope as a 4 Channel DMM.
The device responds to *IDN? as expected, but there is a decoding issue for :WAV:DATA?
import pyvisa
rm = pyvisa.ResourceManager()
...
0
votes
1
answer
123
views
Issue with std::filesystem::path conversion to std::string in C++
I'm facing an issue while attempting to fetch all filenames from a directory. The problem arises when handling certain strings, resulting in errors. Below is the code snippet:
#include <filesystem&...
0
votes
0
answers
19
views
Sendcloud API-Laravel: malformed utf-8 characters, possibly incorrectly encoded
I am trying to create parcel on Sendcloud and I am getting error for street name with special characters: Moalleöandß xejuana n°41 2°4°.
Malformed utf-8 characters, possibly incorrectly encoded ...
0
votes
2
answers
63
views
python can not read json file with encoding = 'utf8'
I can not read full text with this json file:
{
"messages": [
{
"sender_name": "test",
"timestamp_ms": 1554347140802,
"content"...
-1
votes
0
answers
24
views
Getting htmlspecialchars(): Charset "UTF-8;" is not supported, assuming UTF-8 Error in Laravel Breeze Application
I am developing a Laravel application using Laravel Breeze for authentication. When I try to access the login or register pages, I encounter an HTTP 500 error. Here are the details of the error from ...
-1
votes
0
answers
26
views
I'm having issues importing my csv file into postgresql . The file has already been converted into a UTF8 format but still shows error [closed]
ERROR: invalid byte sequence for encoding "UTF8": 0xf6 0x64 0x2c 0x32
CONTEXT: COPY NW Products, line 23
I tried importing the file so many times but still gave the same error, and i already ...
0
votes
0
answers
24
views
Failure to correctly display languages other than English when converting html to pdf using html2pdf
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 ...
0
votes
1
answer
47
views
Database UTF-8 encoding problem when trying to retrieve data from spring boot application
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 ...
0
votes
1
answer
51
views
Is there an Unreal C++ function to parse a byte array to an FString with specific encoding?
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 ...
-3
votes
0
answers
54
views
Why cant JTextArea show arabic [duplicate]
I have a file encoded as UTF-8, the problem line is
39b3efee-e5c8-428e-94f3-74740220c618 = หลวงประดิษฐไพเราะ (ศร ศิลปบรรเลง)
On Windows displays fine in Notepad application,
But when I load it into ...
1
vote
1
answer
73
views
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 correct
...
4
votes
0
answers
75
views
Reading emojis using WinAPI console functions returns UTF-8 Replacement Character instead
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 ...
0
votes
3
answers
139
views
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&...