encoding Questions

20

While running mvn install in my project, I end up with this error. While a lot of answers and resources point out errors in / vs \, I want to mention that I have no local changes and this repo just...
Huckster asked 16/6, 2021 at 13:15

5

Solved

For some unknown reason, the encoding of my files has changed without me noticing for a while. It was UTF-8 and now is windows-1252. I have reset the project encoding from Settings->File encodi...
Spotlight asked 4/4, 2015 at 21:35

4

Solved

I have a Silverlight application that is building a URL. This URL is a call to a REST-based service. This service expects a single parameter that represents a location. The location is in the form ...
Borrow asked 23/2, 2011 at 18:30

21

Solved

Out-File seems to force the BOM when using UTF-8: $MyFile = Get-Content $MyPath $MyFile | Out-File -Encoding "UTF8" $MyPath How can I write a file in UTF-8 with no BOM using PowerShell? ...
Durno asked 8/4, 2011 at 15:2

2

Solved

Background: I do video file demuxing, decode the video track, apply some changes to frames received, decode and mux them again. The known issue doing this in Android are the number of vendor speci...
Chitter asked 14/2, 2016 at 17:41

2

Solved

We got a problem with the encoding of files inside a zip-file. We are using the ionic zip to compress and decompress archives. We are a located in Denmark, so we often have files containing æ, ø o...
Fleck asked 25/1, 2018 at 10:49

9

Solved

Is it possible to know if a file has Unicode (16-byte per char) or 8-bit ASCII content?
Dean asked 21/11, 2009 at 14:29

2

Solved

I have written a batch file which uses a powershell command to delete all local git branches except one to keep. If there are german umlauts used in branch names, it does not work. Switched to bra...
Annelid asked 20/11, 2019 at 6:25

10

Solved

I'm reading a file through a FileReader - the file is UTF-8 decoded (with BOM) now my problem is: I read the file and output a string, but sadly the BOM marker is outputted too. Why this occurs? f...
Unteach asked 4/2, 2011 at 12:18

3

Solved

Using the Perl code #!/usr/bin/perl use strict; use warnings; use CGI ":all"; use Encode; my $cgi = new CGI; $cgi->charset('utf-8'); print $cgi->header(-type => 'text/html', -charset...
Insociable asked 17/4, 2012 at 19:12

5

Solved

Often times when dealing with json and responses you want to encode String to UTF-8 in java. String response = new String(response.data, UTF); // java code For Kotlin, how is this done? I conver...
Coagulase asked 20/6, 2019 at 17:19

2

Solved

I have a problem generating the same ciphertext in JavaScript as provided in a third party PHP server. The server side uses a simple one-liner to generate a key, but I can't find a way to do the sa...
Gladi asked 13/7, 2017 at 13:47

7

Solved

I was trying to take out all emoji chars out of a string (like a sanitizer). But I cannot find a complete set of emoji values. What is the complete set of emoji chars' UTF16 values?
Simon asked 26/5, 2015 at 22:33

11

Recently I want to use Charles to help me debug my web code. However, when I logged out response, it was unreadable. How could I deal with that? I need to see those actual text in response.
Alburnum asked 24/10, 2015 at 19:21

2

I permanently get the following error: UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 27: ordinal not in range(128) I already tried x.encode("ascii", "ignore") x...
Pounds asked 27/10, 2014 at 17:11

5

I am on window 7, python 2.7.2, pandas 0.11.0, django 1.4, wsgi and apache 2.2. I have a pandas script that works fine if I run it directly with python and also works in ipython with %run. However,...
Demotic asked 13/6, 2013 at 20:39

16

Solved

I'm using the Javascript window.atob() function to decode a base64-encoded string (specifically the base64-encoded content from the GitHub API). Problem is I'm getting ASCII-encoded characters back...
Quirk asked 7/5, 2015 at 16:12

19

Solved

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?
Numeration asked 13/3, 2009 at 17:6

4

Solved

I am trying to transmit strings over the iridium network, and the costs of sending data is pretty large. I am wondering if there is a way to compress a large string, for example: {"packet":01,"rep...
Hag asked 26/12, 2018 at 1:1

6

Solved

Is it possible to convert csv data that has iso-8859-13 encoding to UTF-8? My old system does not have UTF-8 encoding, it uses only iso-8859-13. The system that I need to import to does not have i...
Antechamber asked 9/9, 2013 at 7:11

5

I have been stuck for days on exporting UTF-8 CSV with chinese characters that shows garbled text on Windows Excel. I am using PHP and have already added the BOM byte mark and tried encoding but no...
Sulphuric asked 6/11, 2016 at 8:23

17

Solved

I get the error below with an Ant skript I wrote. I already did some googling and found out, that the problem lies with strings containing \u, which happens under Windows because of the directory...
Ledaledah asked 11/6, 2013 at 11:31

3

We're currently changing our mail delivery system to use solely UTF-8. There seems to be a problem with the sender name, when the email contains non ASCII chars (hebrew) the subject & body ren...
Hilmahilt asked 11/12, 2014 at 10:3

9

Solved

I have the following code in Python 3, which is meant to print out each line in a csv file. import csv with open('my_file.csv', 'r', newline='') as csvfile: lines = csv.reader(csvfile, delimiter ...
Jarrad asked 1/2, 2014 at 22:11

17

Solved

I received some text that is encoded, but I don't know what charset was used. Is there a way to determine the encoding of a text file using Python? How can I detect the encoding/codepage of a text ...
Stockbroker asked 12/1, 2009 at 17:30

© 2022 - 2025 — McMap. All rights reserved.