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

Java PreparedStatement UTF-8 character problem

I have a prepared statement:PreparedStatement st;and at my code i try to use st.setString method. st.setString(1, userName);Value of userName is şakça. setString methods changes 'şakça' to '?akça'. It...

View Article


Remove hidden character and special character (java/javascript)

I need to remove [LS], [LS] character only appears when pasted on notepad++ this data was inserted hidden and visible only on UTF-8 encoding editor. And also character such as phone;email;fax. I used...

View Article


Error on calling an API using Webclient - charset=UTF-8

I have a problem on calling an API using Webclient.In my request a see that Webclient automatically put this header:Content-Type:...

View Article

Character encoding of GET request parameter

Hello fellow Stackoverflowers.I have an issue that i need some help with:We're making an http GET web service call from a smartphone app to a Java/Spring MVC application. We're on a Tomcat application...

View Article

Java UTF-8 filenames with IBM JVM (AIX)

I'm having trouble understanding the way the IBM JVM's implementation of java.io.File deals with UTF-8 on AIX on the JFS2 filesystem. I suspect there's a system property that I'm overlooking, but I...

View Article


Custom Fonts and UTF-8 Encoding in jsPDF for PDF Invoice Generation

Here is source code: https://github.com/puncika/interactive_invoice_projectHi everyone!I’m working on a project where I’m generating invoices in PDF format using jsPDF, and I’ve run into an issue with...

View Article

What is the difference between UTF-8 and ISO-8859-1 encodings? [closed]

What is the difference between UTF-8 and ISO-8859-1 encodings ?

View Article

Image may be NSFW.
Clik here to view.

Recursively reading files in directories and adding the file names to a...

After investigating, I found out that the most performant way to read a directory and its sub-directories' files is using Files.walk() method.private void selectPrimaryFolder(ResourceBundle...

View Article


How to read UTF-8 file data in C++?

I have a list of IPA (UTF-8) symbols in a text file called ipa.txt with numbers assigned to them. How do I cross reference it with a source file which is also a text file that contains a bunch of words...

View Article


Deprecated header replacement

A bit of foreground: my task required converting UTF-8 XML file to UTF-16 (with proper header, of course). And so I searched about usual ways of converting UTF-8 to UTF-16, and found out that one...

View Article

Image may be NSFW.
Clik here to view.

Set charset different from UTF-8 in JSON Response

I have this get request in my controller in ASP.NET Core project[HttpGet][Route("api/controller/getlastresult/{id}")]public IActionResult GetLatestResultForController(string id){ Response.ContentType =...

View Article

displaying arabic character with JSON

i'm trying to create an arabic json file using php, but the problem is that i'm getting weird characters instead of the usual arabic letters (ابوميزان).i'm using mysql_query("SET NAMES...

View Article

Load data with base64 encoding with loadDataWithBaseURL

I have an app which use WebView to show some local html to users. The app worked fine in last 2 years, but recently I'm getting too many reports that the app is showing some kind of error like...

View Article


Image may be NSFW.
Clik here to view.

Code page and character set conversion with z/OS files in USS

I'm having issues uploading .html files to our z/OS USS environment - specifically character set and code page conversions.I telnet in with PuTTy, upload with WinSCP, and edit with Notepad++, but have...

View Article

Incorrect string value error for unconventional characters

So I'm using a wrapper to fetch user data from instagram. I want to select the display names for users, and store them in a MYSQL database. I'm having issues inserting some of the display names,...

View Article


Conversion between NVARCHAR to VARCHAR

I've got an Oracle DB with ALL the character columns defined as NVARCHAR or NCHAR or NCLOB, using charset UTF-16.Now I want to migrate to a new DB that has charset UTF-8. Since it can store unicode...

View Article

Unicode string not being read correctly

I'm reading an HTML file using Java and am having some trouble with a Unicode character. The problematic statement is:<span class="xml-lang" lang="cmn-Hant" xml:lang="cmn-Hant">𦮼</span>The...

View Article


wrong text file output of special characters using UTF-8 enconding in R 3.1.2...

I am having problems to write a csv file with Spanish accents, using R 3.1.2 and Mac OS X 10.6. I cannot write words with accents into text file.When I do:con <-...

View Article

Different utf8 encoding in filenames os x

I have a small shellscript in .x$ cat .xu="Böhmáí"touch "$u"ls > .listecho "$u">.textcat .list .textdiff .list .textod -bc .listod -bc .textWhen i run this scrpit sh -x .x (-x only for showing...

View Article

Using MySQL 'utf8mb4' but getting "Malformed UTF-8 characters, possibly...

I have a project created in Laravel v10.48.20 and I'm using Laravel Nova v4.34.3 to show records.I recently added some records with some German characters, and now the Nova resource is throwing this...

View Article
Browsing all 1057 articles
Browse latest View live