Questions tagged [character-set]

A character set maps a set of characters to specific numeric values, e.g. ASCII, UTF-8 and ISO-8859-1.

A character set maps a set of characters to specific numeric values.

Modern computer languages, editors and tools facilitate encoding and decoding of data between internal representations of data and specific character sets. Examples include ASCII, UTF-8 and ISO-8859-1.

Consideration should be given to using the appropriate character set for transmission and persistence of data, particularly text that can contain special characters (such as European languages like French or German) or be in a completely different script (such as Japanese) - see internationalisation (also referred to as i18n).

120 questions
0
votes
1 answer

sqlcmd SQL returning string value as #name? - value is displayed correctly in SSMS

I have a simple SQL query that is pulling the value from a varchar2 column. It returns the correct value in SSMS, however in sqlcmd it returns: "#NAME?" (without the double-quotes). The actual value it is trying to return is "- W" (without the…
0
votes
1 answer

IText - Edit Spanish Document Using PdfDictionary and PDF Stamper

I am trying to read a document using itext and replace a string in it. But once manipulated all spanish character becomes junk characters. Below is the code for changing the pdf. PdfReader reader = new PdfReader(src); PdfDictionary dict …
SaChi
  • 1
  • 3
0
votes
0 answers

How to write all utf-8 characters to a file in Java

There is a requirement to create a file with all utf-8 characters using Java or create all utf8 characters as string at runtime. I have tried to create the string by using below code. char data[] = new char[65536]; for (int index = 0; index <…
user2702700
  • 639
  • 2
  • 11
  • 26
0
votes
1 answer

Store the city name Łódź in MySQL table

I currently do have an address table in MYSQL, with its Character Set set to 'utf8' and Collation to 'utf8_unicode_ci'. There exists a column name Address and I am trying to store the city name Łódź into the Address column. I tried to key in…
Tan Stanley
  • 101
  • 2
  • 13
0
votes
1 answer

Are there any character sets that don't respect ASCII?

As far as I understand, a character encoding maps bits to integers and a character set maps integers to characters. So in the Unicode character set there is a telephone character. It is represented using the integer 9742, more commonly represented…
user3420382
0
votes
2 answers

adodb setConnectionParameter CharacterSet

How do you use the following code in adodb? Where to put "'CharacterSet ',' UTF-8'"? protected $connectionParameters = array(); /** * Adds a parameter to the connection string. * * These parameters are added to the connection string when…
Per
  • 1
  • 1
  • 2
0
votes
1 answer

MySql Unicode collation utf8mb4_german2_ci not found *** German umlaut collation ***

After installing MySql 5.7 , I cannot find this collation: utf8mb4_german2_ci The worklog 4013 mentions that "Unicode german2 collation" will be there from Server 5.6 ("Affects: Server-5.6 ; Status is: Complete )…
-1
votes
2 answers

What type of column for session id in database?

As in the question. What specification should have session id column in database. The type, character set etc. The requirements are fastest query with stability, but some advantages during read of session from cookie etc could have important impact…
-1
votes
1 answer

Window Name Incorrect

right so I'm new to creating windows applications as I have mostly used console up until this point. I'm confident with the ideas and understand OOP and have been using MSDN to create a simple window. As you can see the characters used are not the…
-1
votes
4 answers

What datatype should i choose for mysql db to store a paragraph text which includes special characters as well?

In my MySql DB I want to store some text which will be a mimimun of 1000 words, it will contain some special characters like "",'()<>-.!; data will be passed using php.
-1
votes
1 answer

What character set is "é" from? (Python: Filename with "é", how to use os.path.exists , filecmp.cmp, shutil.move?)

What Character set is é from? In Windows notepad having this character in an ANSI text file will save fine. Insert something like and you'll get an error. é seems to work fine in ASCII terminal in Putty (Are CP437 and IBM437 the same?) where as …
user324747
  • 255
  • 3
  • 16
-1
votes
1 answer

Uses of various character set configs for MySQL

I ran SHOW VARIABLES WHERE Variable_name LIKE 'character\_set\_%' OR Variable_name LIKE 'collation%'; and the output is +--------------------------+-------------------+ | Variable_name | Value …
uzumas
  • 632
  • 1
  • 8
  • 23
-1
votes
2 answers

How to create custom single byte character set for Windows?

Windows uses some encoding table for non-unicode applications to map characters from unicode table to 1-byte table. There are many predefined character sets, user can choose one in windows settings. I need to create a custom character set. Where can…
vbezhenar
  • 11,148
  • 9
  • 49
  • 63
-1
votes
2 answers

Reduce MySQL queries to one query to speed up

In general_log file i have queries: 160806 9:53:26 11 Connect dbname@localhost on 11 Query SET NAMES utf8 11 Query SET character_set_client="utf8" 11 Query SET character_set_connection="utf8" 11 Query…
kostya572
  • 169
  • 2
  • 21
-2
votes
2 answers

Delphi 7 under Windows 10

I am talking about Design not Runtime. Is there a way to fix the Encoding and Character Sets issues? Example of messed up form title in Arabic below. Some French letters such as é show up like this too. Update: Components stored in the DFM like…
HMil
  • 47
  • 7
1 2 3 4 5 6 7
8