Excel: Read special characters - excel

How can i read special characters in excel. For example ö is changed into ö and a hyphen (-) is changed in to â€
Is there any way to make it read all my characters like it should?
Thanks in advance.

By "special characters" you mean non-ASCII standard characters. You probably need to convert your file's encoding to Unicode (UTF-8). The way I do it is to open it up in notepad++ and hit convert to UTF-8. Save the file and it should open up in excel

Related

From Excel file to Text (tab Delimited) with BE encoding: Greek letters turn to question marks

What I want to do
I download a tab-delimited Text file including Greek and Polish characters.
I change it to an excel file format for others to edit it (translations).
I receive the translations and change the excel file back to tab-delimited file to upload the translations.
Problem
When saving the Excel file including translations as a tab-separated text file, all Greek and special Polish characters get turned into question marks - irrespective of the encoding.
Is there any solution to this problem and a way to do what I want to do?
Observations
As far as I know, Big Endian should support Greek letters. None of the other relevant encodings in Excel work (UTF-8, ASCII).
The problem appears to occur because of saving it as a tab-delimited Text file. Saving it with that encoding as an xlsx file keeps the right characters.

How to open a text file with Excel in UTF-8 encoding?

I have a text file with ".tsv" extension.
It has UTF-8 enconding and it contains cyrillic characters.
When I try to open it with the function: "Open with"-> "Excel", Excel doesn't show the correct characters, while if I open it with Notepad++ in the same way, I can see characters correctly.
I would like to avoid importing the file in Excel with the wizard.
Use Data, Get External Data, From Text and supply the proper encoding for the File Origin.

Does Excel for Mac 2016 properly import Unicode in .csv files?

A semi-well-known bug in Excel for Mac 2011 causes it to mangle imported .csv files containing accented Unicode characters. See: Microsoft Excel mangles Diacritics in .csv files?
For example, Pérez might get imported as Pérez.
My question: has this been fixed in Excel for Mac 2016?
No this has not been fixed in Excel for Mac 2016 and still miss-imports "Pérez". You can fix it in Excel by opening a New Worksheet, then "Import" and specifying UTF8 as the encoding. However there does not seem to be a way to construct a CSV that can be imported without knowing beforehand that it is going to Excel.
This is a workaround for my own particular UTF-8 problem, refers to tab-separated values rather than CSV, and also involves proprietary software*. Hence it may not be of general applicability. However I am posting it in case anyone else finds it useful or is able to adapt it to their problem.
I work with a UTF-8 MySQL database which contains one field with UTF-8 text because of Greek symbols. After making an SQL query I often paste from my Mac terminal into the BBEdit text editor, do some minor clean up, and then import into Excel for distribution and presentation. Having read the answer from #MitraArdon, the following allows me to preserve the UTF-8:
Set the BBEdit text document as Unicode (UTF-8, with BOM)† using the selection options at the bottom of the page.
Launch Excel 2016 and import the text file (as delimited text — I use the pipes from the MySQL tables as delimiters). Save as .xlsx.
There is no step 3 (as the ad used to say).
For the reverse process I cannot do the normal “Save as tab delimited text” as the Greek letters will be replaced by underscores. As the document is in UTF-16 one must:
Select “Save as UTF-16 Unicode Text (.txt)”
Open in BBEdit and change the format to UTF-8 (generally ‘No BOM’).
Then I can upload back into my UTF-8 MySQL database, if required.
Footnotes
*Actually BareBones’ cutdown free text editor, TextWrangler, should also work as it has the option to save as UTF-8 BOM.
†Or convert to UTF-16 BOM.

Remove Unicode UTF-8 character from string in VBA

I'm using excel vba to take a dataset and build an XML file.
The data comes in with some unicode characters inside some of the comments fields.
This causes problems for the XML.
Would like to strip out any of these non-printable characters during the vba process.
Thanks
WorksheetFunction.Clean() should help: http://msdn.microsoft.com/en-us/library/microsoft.office.interop.excel.worksheetfunction.clean%28v=office.14%29.aspx

Excel to Tab delimited (.txt) file with special character

I want to export Excel to Tab delimited (.txt) file with special character.
I've changethe format to UTF-8, but it still doesnt work.
The origin data is like Mädchen and what i got is M?dchen
Anyone can help me? Thank you
This was similarly asked and answered before: Excel to CSV with UTF8 encoding. Take a look at Eric's answer.
The best way to do it is to save the file as an Unicode text file. And save as the unicode text file, change the encoding to utf-8
Save it as Unicode text file. It will still save as Tab Delimited and preserve all the versatile non-English characters.

Resources