Changing text file encoding does not effect the text - encoding

I tried to change the encoding of ANSI files (àìà ìùîåø) to UTF8.
I was manage to do that in the pass.
Now when i try to do the same thing, the encoding setting is changing but the weird character does not change and does not seems to get any effect.
I have tried with any good editors like notepad++ notepad2 notepad3 with no success.
I think that the problem is in my machine.
What could it be?
Thanks!

If you have Microsoft Office 2003 open Word copy the text and select it then go to tools -> fix broken text and choose your language. this will convert the text back to its original state

Related

How to add support for a custom non-unicode font in VSCode?

I have a custom fantasy script which looks like this (just the text portion):
It is a monospaced font built with FontForge. How can I add support for it to VSCode, so I can type in ASCII (like the left side here), and it outputs the random UTF-8 symbol mapped to the custom font in VSCode? So I can then save the file and have it be either a bunch of gobbledygook characters or the ASCII characters I originally typed?
Ideally this could be a plugin, so if you know of an open source VSCode plugin which I could use as inspiration, that would be a perfect answer as well.
I see how to set a custom font in VSCode, but (a) that is globally, and (b) it doesn't necessarily solve the typing problem. I just really would like to know how to do this, not necessarily requiring an answer to implement it.
Recommended UX is to have a "separate keyboard" for it, meaning typing the keys on the keyboard would result in different values. Maybe something like that can be done on a per-file basis?

PhpStorm editor encoding issue

I just have updated my PhpStorm to version 2016.1 and I have a really strange issue in editor, as you can see in the screenshot, some characters are screwed up.
When I copy/paste the text it is displayed correctly (the text before the require is "dojo"), I have tried changing the file encoding but without success (the file is UTF-8)
Someone already had this problem ? It is kind of annoying. See below my file encoding.
The problem don't seem to be the font (as suggested in comments) because italic is rendered:
It's not a problem with encoding .. but issue with your font. If you look at the screen -- only italic (or italic+bold) text has such problem.
How to check it:
If you select the text and copy-paste it into another editor (e.g. Notepad++ if you are on Windows) .. or even here into the actual Question -- will it copy that mangled text fine (I mean -- will it read "dojo" when pasted)?
Will it display it fine if you try another standard color schema -- e.g. "Default" or "Darcula"?
The issue can be with actual font (corrupted font files; somehow incomplete font data etc) .. or maybe even the with the way how IDE uses/renders it (e.g. font may not have separate "bold italic" style so IDE tries to mimic it and fails).
Either fix your font (re-download and reinstall; look for newer version maybe)
.. or use another font
.. or do not use italic (bold+italic) style

How To Display "Chinese" Character Comments And Strings In Eclipse

The android project was compiled under Windows. When I import the project in eclipse under Mac, the comments and hardcoded strings, which is supposed to be displayed in Chinese, were all displayed as garbages.
See screenshot below:
Is there a way to solve this? Please help. Many Thanks!
As you are putting text as hardcoded please input that text in the string.xml
Change file encoding. Open file in editor. Click File > Properties and change encoding. Try UTF-8 or UTF-16

Chinese characters showing up as boxes in dreamweaver

When trying to copy paste some Chinese characters in a HTML file open in Dreamweaver I see that its being represented as boxes. When I view the pave on a browser I can see the characters correctly so its just in Dreameaver that they don't show up.
I read some posts on S.O. about utf-8 and saving with BOM disabled.I have even included Chinese on my keyboard with no luck.
edit. I tried editing the Fonts in Edit>Preferences to Chinese but when I click OK and I go back to it it shows Unicode again.
I could just copy and paste everything and it will work but it would be easier if I can see the different characters so when I need to hyperlink some word or include it in a tag I dont have to count boxes and view on the browser to figure it out.
I found out what was the problem. It was an encoding issue on Dreamweaver.
Went to Modify>Page Properties>Title/Encoding and changed the encoding to Chinese.
The Unicode showed up boxes in Dreamweaver.
However if you have already text copied in then they might not turn to the actual characters correctly so you have to re-enter them or if you didn't enter anything text yet its ok.

How do I see the current encoding of a file in Sublime Text?

How do I see the current encoding of a file in Sublime Text?
This seems like a pretty simple thing to do but searching has not yielded much. Any pointers would be appreciated!
Since this thread is a popular result in google search, here is the way to do it for sublime text 3 build 3059+:
in user preferences, add the line:
"show_encoding": true
Another option in case you don't wanna use a plugin:
Ctrl+`
or
View -> Show Console
type on the console the following command:
view.encoding()
In case you want to something more intrusive, there's a option to create an shortcut that executes the following command:
sublime.message_dialog(view.encoding())
With the EncodingHelper plugin you can view the encoding of the file on the status bar. Also you can convert the encoding of the file and extended another functionalities.
For my part, and without any plug-in, simply saving the file either from the File menu or with keyboards shortcuts
CTRL + S (Windows, Linux) or CMD + S (Mac OS)
briefly displays the current encoding - between parentheses - in the status bar, at the bottom of the editor's window. This suggestion works in Sublime Text 2 and 3.
Note that the displayed encoding to the right in the status bar of Sublime Text 3, may display the wrong encoding of the file if you have attempted to save the file with an encoding that can't represent all the characters in your file.
In this case you would have seen an informational dialog and Sublime telling you it's falling back to UTF-8. This may not be the case, so be careful.
ShowEncoding is another simple plugin that shows you the encoding in the status bar. That's all it does, to convert between encodings use the built-in "Save with Encoding" and "Reopen with Encoding" commands.
plugin ConverToUTF8 also has the functionality.