Questions tagged [non-unicode]

Unicode is intended to be a universal character set for describing all the characters required for written text incorporating all writing systems, technical symbols and punctuation. But unicode isn't supported on every system, and many other character sets exist.

This tag concerns encoding questions dealing with non-unicode character sets. It can be about conversion from/to unicode, or dealing with special characters on systems not supporting unicode.

Some commons character sets:

  • ASCII. 7-bits. Only non-accented latin characters.
  • ISO-8859-1 (a.k.a. Latin-1). 8-bits. Occidental latin characters.
  • ISO-8859-15 (a.k.a Latin-9). Like ISO-8859-1, but with some additional characters like euro sign.
  • CP-1252. 8-bits. Occidental latin characters used by Windows.
  • CP-850. 8-bits. Occidental latin characters used by DOS.
63 questions
3
votes
2 answers

converting non-unicode, non-english content to unicode

I've a text content in "xyz" language.

eWvS³: kmwkMnsâ kq¸Àt^mWmb KmeIvkn kocoknsâ aq¶mw]Xn¸v

// It will not display correctly as font is not embedded. here the font xyz (xyz.ttf) is non unicode. Now I want to…
TheKid
  • 349
  • 1
  • 3
  • 8
2
votes
0 answers

Microsoft Keyboard Layout Creator: diacritics shown wrong after install

I'm trying to make a keyboard for myself in Microsoft Keyboard Layout Creator based on German with two additional diacritics: a caron (wedge above the character) and a macron (dash above the character). I'm defining these as dead keys. Everything…
cbfunky
  • 21
  • 2
2
votes
1 answer

Delphi: Unicode->AnsiString, language for non-unicode programs

I have Delphi 2010. XXX-component uses File_Path:AnsiString. A path can be written in XXX-language. If I set to use XXX-language for non-unicode programs in Windows settings then XXX-component recognize the path but if I set default Windows settings…
maxfax
  • 4,281
  • 12
  • 74
  • 120
2
votes
2 answers

charmap error when encoding Japanese characters

I am making a program to translate specific Japanese characters to their English spelling from an external text file using the replace() function, but I am facing a strange error. I made sure to encode all the characters in the text file and then…
2
votes
1 answer

SSIS data conversion (from unicode to ANSI) returned status value 4

I have the following problem: I have an SSIS package that starts with a query executed at an Oracle DB and I would like to export a Fixed Width flat file with ANSI 1253 Code Page. I get an error: The data conversion for column [column_name]…
1131
  • 407
  • 3
  • 15
2
votes
2 answers

ISNULL function in SSIS

I have a column PhoneNumber varchar(50) and i want to build an expression for a derived column PhoneNumberType varchar(50) based on below, IF PhoneNumber <> NULL then Set to ""Office"" Else Set to NULL END IF I tried as !ISNULL(PhoneNumber ) ?…
2
votes
1 answer

Strange chars while reading from file with fgetc

When I printf the variable answer it contains several strange chars. What might be the reason? int flag=0; char answer[512]; char a[2]; a[1]='\0'; int c; int status=1; do { c = fgetc(pp); if( feof(pp) ) { break ; } …
Tosh
  • 132
  • 1
  • 11
2
votes
1 answer

How to get and pass Arabic characters in a non-unicode c++ environment

I'm currently working on a project that is written in C++ and uses True OLE DBGrids with a MS Access backend. This all works well until now we need to be able to convert our GUI to display Arabic characters. The DBGrids do not use Unicode so I…
jkoppee
  • 21
  • 2
2
votes
3 answers

When reading a file I get ??? as input instead of Cyrillic letters

Thank you very much for all the help till now. I have the following problem: static void Main(string[] args) { Dictionary dict = new Dictionary(); using (StreamReader reader = new…
Ilia Lazarov
  • 43
  • 1
  • 7
2
votes
2 answers

Non-ASCII title for android map marker

I would like to be able to add a marker with a title that has only non-ASCII characters: marker = map.addMarker( new MarkerOptions() .title("אני") .position(latlng) ); Unfortunately the…
Gavriel
  • 18,880
  • 12
  • 68
  • 105
2
votes
2 answers

jQuery and non-unicode characters

I'm trying to use jQuery to get autocomplete from a database. It works fine with English values but I have some rows in Arabic and they are showing as (????). I start all my pages with:
Hussam Sibai
  • 97
  • 2
  • 9
2
votes
1 answer

Foreign characters show up as ????? in VBA 2003, how to set up UTF-8?

I have a Database in Access 2003 that needs to work with foreign language characters. The characters show up fine in the table. However, when VBA tries to read them it cannot do it. As an example, the column ANSWER_TEXT from cf_Answer displays:…
Jake Zeitz
  • 2,429
  • 3
  • 23
  • 43
2
votes
0 answers

Codemirror (AjaXplorer/Linux Webserver): ANSI-files with special characters

I have a AjaXplorer installation on a Linux Webserver. One of the plugins of AjaXplorer is Codemirror - to view and edit text files. Now I have the following situation: If I create a txt-File on Windows (ANSI) and upload it into Ajaxplorer (UTF-8),…
Sven OS
  • 35
  • 1
  • 5
2
votes
1 answer

PHP: Converting scandic characters to hex unicode

I'm working on a Joomla site with Fabrik and problem is that Fabrik serializes some data using json_encode() but does not take into account the possibility of åäö and such. Now when a database search is made, it tries to find stuff with åäö, but…
Simon Josef Kok
  • 745
  • 1
  • 8
  • 22
2
votes
1 answer

How to solve UnicodeEncodeError while working with Cyrillic (Russian) letters?

I try to read a RSS-feed using feed parser. import feedparser url = 'http://example.com/news.xml' d=feedparser.parse(url) f = open('rss.dat','w') for e in d.entries: title = e.title print >>f, address f.close() It works fine with English…
Roman
  • 124,451
  • 167
  • 349
  • 456