latin1 Questions

5

Does there exist any way to change the MySQL Workbench charset? My schema uses UTF-8 and when I view the table data (saved as UTF-8) or add data manually, it appears with charset errors, probably M...
Balderas asked 28/7, 2011 at 13:53

3

Solved

I'm using a Latin1 encoded DB and can't change it to UTF-8 meaning that I run into issues with certain application data. I'm using Tesseract to OCR a document (tesseract encodes in UTF-8) and tried...
Saransk asked 18/2, 2015 at 21:42

8

Solved

I know that MySQL has default of latin1 encoding and apparently it takes 1 byte to store a character in latin1 and 3 bytes to store a character in utf-8 - is that correct? I am working on a site t...
Vishinsky asked 1/2, 2011 at 0:43

2

Solved

Our postgres production database server has a database called crd_production which is born out of the template1 template database. Incidentally, on an Ubuntu 12.04 box, the default encoding of the ...
Platform asked 25/1, 2013 at 16:1

3

Solved

When I tryed to decode the string below in nodeJS using decodeURLCompnent: var decoded = decodeURI('Ulysses%20Guimar%C3%A3es%20-%20lado%20par'); console.log(decoded); I got Ulysses Guimarães -...
Summersault asked 7/2, 2014 at 20:56

2

Yesterday for the first time I exported my Mysql database and I found some very strange characters in the dump such as: INSERT INTO `piwik_archive_blob_2013_01` VALUES (15,'Actions_actions_url_6',...
Wonderwork asked 30/3, 2013 at 12:24

1

Solved

I have a stream that I'm reading from and in turn am writing to a file however I am getting an error that is caused by the presence of a ’. I assume this is because I'm opening the file w/ the wron...
Schrick asked 22/6, 2016 at 13:56

2

In my case I embedded Python into my application. When the path of my application contains a non-latin-1 character Py_Initialize calls exit(1) internally (more information later). So I checked if ...
Torrlow asked 19/5, 2016 at 6:58

1

Solved

how do I convert a UTF-8 string to Latin1 encoded string using javascript? Here is what I am trying to do: I get a file, split that in chunks by reading as arraybuffer then, I parse the arraybu...
Marvelous asked 25/11, 2015 at 11:0

3

Solved

In Python 2.7, how do you convert a latin1 string to UTF-8. For example, I'm trying to convert é to utf-8. >>> "é" '\xe9' >>> u"é" u'\xe9' >>> u"é".encode('utf-8'...
Junk asked 21/1, 2013 at 17:11

1

Solved

I am extracting strings from an XML file, and even though it should be pure UTF-8, it is not. My idea was to #!/usr/bin/perl use warnings; use strict; use Encode qw(decode encode); use Data::Dumpe...
Sang asked 4/4, 2014 at 16:33

1

Solved

I was reading this high rated post in SO on unicodes Here is an `illustration given there : $ python >>> import sys >>> print sys.stdout.encoding UTF-8 >>> print '\x...
Desouza asked 19/2, 2014 at 19:18

3

Solved

The question I have is quite simple, but I couldn't find a solution so far: How can I convert a UTF8 encoded string to a latin1 encoded string in C++ without using any extra libs like libiconv? E...
Antlia asked 12/10, 2012 at 9:4

1

Solved

Here are 2 code samples, Python3 : the first one writes two files with latin1 encoding : s='On écrit ça dans un fichier.' with open('spam1.txt', 'w',encoding='ISO-8859-1') as f: print(s, file=f) ...
Oehsen asked 22/7, 2013 at 14:34

2

Solved

i am a newer in python.Today when I write some search function I met an error.well, I use sqlalchemy orm to do that, in my function,I input a chinese word as the key word.The html page give me an U...
Mondragon asked 6/5, 2013 at 7:48

4

Solved

I am about to undertake the tedious and gotcha-laden task of converting a database from Latin1 to UTF-8. At this point I simply want to check what sort of data I have stored in my tables, as that...
Scathing asked 16/2, 2012 at 2:3

1

Solved

I have a rails app that receives data from an Android device. I noticed that some of the data, when in Japanese, is not saved correctly. It shows up as literal question marks (not the diamond ones)...
Vasos asked 22/12, 2012 at 0:44

1

Once again I have a weird and tricky problem. I've been working with converting my MySQL databases (and everything else on my server for that matter) to UTF-8 to avoid having to convert text when ...
Gilbreath asked 30/8, 2012 at 19:25

3

I'm having trouble getting a particular database set up and running. I'm trying to restore a postgreSQL dump I got from somebody else. I've tried a few methods to no avail. Straight from pg_resto...
Reversible asked 8/2, 2011 at 3:5

1

Solved

Since the latin-1 (aka ISO-8859-1) character set is embedded in the Unicode character set as its lowest 256 code-points, I'd expect the conversion to be trivial, but I didn't see any latin-1 encodi...
Triatomic asked 25/9, 2011 at 10:23

1

Solved

I just checked my MySQL tables and I have default set as latin1. Is that generally the default? How can I make it explicit for all my tables that I want the database to be utf-8? I know there is...
Tieck asked 23/5, 2011 at 23:16

1

Solved

I would like to covert a QString into either a utf8 or a latin1 QByteArray, but today I get everything as utf8. And I am testing this with some char in the higher segment of latin1 higher than 0...
Irrelevant asked 13/3, 2011 at 11:5

3

Solved

I have a PostgreSQL 8.4 database that is created with the da_DK.utf8 locale. dbname=> show lc_collate; lc_collate ------------ da_DK.utf8 (1 row) When I select something from a table where...
Parashah asked 10/2, 2011 at 9:37

4

Solved

I have a member search function where you can give parts of names and the return should be all members having at least one of username, firstname or lastname matching that input. The problem here i...
Lack asked 20/11, 2010 at 17:28

1

Solved

So I'm trying to write a perl script to read in a file encoded in Latin-1. For some reason, this just isn't working out. When I try to do a simple search for a character that I know is in the file ...
Paradiddle asked 19/11, 2010 at 1:19

© 2022 - 2024 — McMap. All rights reserved.