String Functions - Online String Manipulation Tools

Encoding Problem Table

What happens if you encode a character with one encoding and then try to decode with another? This is often the case when you have a mix of operating systems and/or internationalization requirements. Also, this tend to be a problem with web frameworks where the code page can be set in the http header or in the http head section. Selecting the wrong encoding (code page) may display some characters correctly but others will be scrambled. The first 256 characters in a mixed selection of encodings are displayed below. Encoding a text with Western European (Mac) and decoding with Western European (Windows) will sometimes produce strange characters. Characters may display as a box denoting binary data, another character or even several other characters.


Encoding from Western European (Mac) (code page 10000, macintosh) to Western European (Windows) (code page 1252, Windows-1252)

DecHexmacintoshWindows-1252
00
11
22
33
44
55
66
77
88
99
10A
11B
12C
13D
14E
15F
1610
1711
1812
1913
2014
2115
2216
2317
2418
2519
261A
271B
281C
291D
301E
311F
3220
3321!!
3422""
3523##
3624$$
3725%%
3826&&
3927''
4028((
4129))
422A**
432B++
442C,,
452D--
462E..
472F//
483000
493111
503222
513333
523444
533555
543666
553777
563888
573999
583A::
593B;;
603C<<
613D==
623E>>
633F??
DecHexmacintoshWindows-1252
6440@@
6541AA
6642BB
6743CC
6844DD
6945EE
7046FF
7147GG
7248HH
7349II
744AJJ
754BKK
764CLL
774DMM
784ENN
794FOO
8050PP
8151QQ
8252RR
8353SS
8454TT
8555UU
8656VV
8757WW
8858XX
8959YY
905AZZ
915B[[
925C\\
935D]]
945E^^
955F__
9660``
9761aa
9862bb
9963cc
10064dd
10165ee
10266ff
10367gg
10468hh
10569ii
1066Ajj
1076Bkk
1086Cll
1096Dmm
1106Enn
1116Foo
11270pp
11371qq
11472rr
11573ss
11674tt
11775uu
11876vv
11977ww
12078xx
12179yy
1227Azz
1237B{{
1247C||
1257D}}
1267E~~
1277F
DecHexmacintoshWindows-1252
12880€?
12981?
13082‚?
13183ƒ?
13284„?
13385…?
13486†?
13587‡?
13688ˆ?
13789‰?
1388AŠ?
1398B‹?
1408CŒ?
1418D?
1428EŽ?
1438F?
14490?
14591‘?
14692’?
14793“?
14894”?
14995•?
15096–?
15197—?
15298˜?
15399™?
1549Aš?
1559B›?
1569Cœ?
1579D?
1589Ež?
1599FŸ?
160A0 Ê
161A1¡Á
162A2¢¢
163A3££
164A4¤?
165A5¥´
166A6¦?
167A7§¤
168A8¨¬
169A9©©
170AAª»
171AB«Ç
172AC¬Â
173AD­?
174AE®¨
175AF¯ø
176B0°¡
177B1±±
178B2²?
179B3³?
180B4´«
181B5µµ
182B6¦
183B7·á
184B8¸ü
185B9¹?
186BAº¼
187BB»È
188BC¼?
189BD½?
190BE¾?
191BF¿À
DecHexmacintoshWindows-1252
192C0ÀË
193C1Áç
194C2Âå
195C3ÃÌ
196C4Ä
197C5Ł
198C6Æ®
199C7Ç
200C8Èé
201C9Ƀ
202CAÊæ
203CBËè
204CCÌí
205CDÍê
206CEÎë
207CFÏì
208D0Ð?
209D1Ñ
210D2Òñ
211D3Óî
212D4Ôï
213D5ÕÍ
214D6Ö
215D7×?
216D8د
217D9Ùô
218DAÚò
219DBÛó
220DCÜ
221DDÝ?
222DEÞ?
223DFߧ
224E0àˆ
225E1á
226E2â
227E3ã
228E4äŠ
229E5åŒ
230E6æ¾
231E7ç
232E8è
233E9éŽ
234EAê
235EBë
236ECì
237EDí
238EEî
239EFï
240F0ð?
241F1ñ
242F2ò˜
243F3ó
244F4ô
245F5õ
246F6öš
247F7÷Ö
248F8ø¿
249F9ù
250FAúœ
251FBûž
252FCüŸ
253FDý?
254FEþ?
255FFÿØ


Tags: encoding decoding problem double character error

More Encoding Tables

More string functions
Reverse A String
Calculate String Length
Count The Occurrences Of A SubstringConvert To Uppercase Or Lowercase
HTML-Encode A StringHTML-Decode A String
URL-Encode A StringURL-Decode A String
Convert A String To HexConvert Hex To String
Convert A String To BinaryConvert Binary To String
Base64-Encode A StringBase64-Decode A String
Decimal To BinaryBinary To Decimal
Decimal To HexHex To Decimal
Character Encoder / DecoderCharacter Encoding Errors Analyzer





 
Privacy Policy



String Manipulation For Programmers
For a comparison of string function notation in different programming languages such as Pascal, VB.NET, Perl, Java, C, C++, Ruby and many more, see the Wikipedia article Comparison Of Programming Languages (String Functions)


Other sites of interest
Chinese Flashcards
Free Educational Websites
Map Quiz Game