windows-1252 Questions

4

Solved

I am trying to read a file in as either UTF-8 or Windows-1252 depending on the output of this method: public Charset getCorrectCharsetToApply() { // Returns a Charset for either UTF-8 or Windows-...
Sometime asked 23/8, 2012 at 17:12

13

Solved

I've copied certain files from a Windows machine to a Linux machine. All the files encoded with Windows-1252 need to be converted to UTF-8. The files which are already in UTF-8 should not b...
Goodtempered asked 6/1, 2010 at 15:39

3

Solved

This program works just fine when compiled for .NET 4 but does not when compiled for .NET Core. I understand the error about encoding not supported but not how to fix it. Public Class Program Publ...
Spam asked 16/6, 2016 at 22:2

5

Solved

We are hosting PHP apps on a Debian-based LAMP installation. Everything is quite OK – performance-, administrative-, and management-wise. However, being somewhat new developers (we're still in high...
Conroy asked 1/10, 2013 at 7:0

3

Solved

I receive data from a external Microsoft SQL 2008 database (I make queries with MyBatis). The data is encoded as "Windows-1252". I have tried to re-encode to UTF-8: String textoFormado = ...
Mortar asked 15/4, 2014 at 11:36

5

Solved

I have a file which is mostly UTF-8, but some Windows-1252 characters have also found their way in. I created a table to map from the Windows-1252 (cp1252) characters to their Unicode counterparts...
Monopoly asked 4/4, 2012 at 10:59

2

I created a Gradle-Project in Netbeans and tranfered some existing UTF-8-encoded sourcefiles to it (simply by file copying them to the project folder) The problem: Netbeans Editor and the Gradle-b...
Pincas asked 18/1, 2020 at 11:38

1

Solved

I have an existing repository with files in mixed encodings - some files are in UTF-8 and some are in ANSI (e.g. Windows-1252). Mostly everything works fine, except that I am getting tired of seein...
Anticlimax asked 21/12, 2019 at 9:14

3

Solved

so okay, as the title suggests the problem I have is with correctly reading input from a windows-1252 encoded file in python and inserting said input into SQLAlchemy-MySql table. The current syste...
Mid asked 19/3, 2013 at 14:45

3

I just want to know if windows 1252 is a subset of UTF-8 or not? and what are the differences? Thinking of migrating my DB from windows 1252 to UTF-8, any thoughts, opinions?
Whinny asked 13/8, 2019 at 19:30

2

Solved

We have several database fields that contain Windows-1252 characters: an example pain— if you’re Those values map to the desired values from this list: http://www.i18nqa.com/debug/utf8-debu...
Saccharase asked 5/2, 2016 at 21:49

2

I am working with windows 10 universal App and the ARM CPU to create apps for the Raspberry Pi. I get the following error with encoding: Additional information: 'windows-1252' is not a supported...
Sartorius asked 9/9, 2015 at 4:44

2

Solved

I have a test site and test DB both set to windows-1252. When I type Alt+234 into Chrome it puts this symbol in the field: Ω. And when I submit the form it posts and stores it as Ω I'm ass...
Geoffrey asked 27/8, 2014 at 20:26

1

Solved

With the csv crate and the latest Rust version 1.31.0, I would want to read CSV files with ANSI (Windows 1252) encoding, as easily as in UTF-8. Things I have tried (with no luck), after reading th...
Mingrelian asked 18/12, 2018 at 5:41

1

I'm trying to understand the logic of the two functions mb_detect_encoding and mb_check_encoding, but the documentation is poor. Starting with a very simple test string $string = "\x65\x92&quo...
Posthaste asked 7/10, 2016 at 14:55

1

Solved

I have a corrupted file where Windows-Special Characters have been replaced by their UTF-8 "equivalents". I tried to write a function that is able to replace the special characters based on this ta...
Lest asked 8/1, 2016 at 15:15

2

Solved

I am experimenting with an edge case we're seeing in production. We have a business model where clients generate text files and then FTP them to our servers. We ingest those files and process them ...

1

Solved

I'm looking for a little help in understanding how charsets work. This question is a continuation from Anything wrong with using windows-1252 instead of UTF-8 I have a test ColdFusion site using.....
Unspeakable asked 1/2, 2014 at 17:37

2

Solved

Is iso-8859-1 a proper subset of utf-8? What about iso-8859-n? What about windows-1252? If the answer is no to any of the above, what are the disjoint characters? I'm testing some logic that de...
Unrestrained asked 5/4, 2012 at 1:42

1

Solved

I am trying to write a program in C# that will split a vCard (VCF) file with multiple contacts into individual files for each contact. I understand that the vCard needs to be saved as ANSI (1252) f...
Gonorrhea asked 4/12, 2010 at 4:45
1

© 2022 - 2025 — McMap. All rights reserved.