unicode not visible in notepad but visible in console [closed] - unicode

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I was saving a file in notepad, and I got the warning message that the file contained unicode that wouldn't save correctly as ansi. I didn't see any characters that would be a problem, so I opened the file in the console and found these random-looking characters in the text. They aren't visible in notepad at all. Even the space they take up in the console isn't there in notepad. Below I've posted a screenshot of the text in notepad and in the console. What's going on?
notepad
console

The characters being displayed at the console are the UTF-8 encoding for a Zero Width Space, which would not be visible in Notepad or any other Unicode application. The console doesn't work with Unicode normally, it uses a code page (typically code page 437) to determine which character to display based on the bytes that are output. The UTF-8 encoding of the Zero Width Space is 3 bytes \xe2\x80\x8b so you see 3 characters on the console, doubled up because you have two Zero Width Spaces.

Related

How to type 🐌🐌🐌 using laptop keyboard on Windows? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I'd like to gain on the funny guy scale and let people know their are slow. Usually I do that by pasting something like "hey, dude, don't be 🐌" or when talking about e-mail versus 🐌-mail.
Usually, I copy that character by hand from some webpage or another one but it would be so much cooler to be able to 🐌 up the text without it.
Is there a way to "type" in 🐌 or similar on a laptop running Win 10 without specific software installed and without any special keys on the keyboard? I googled it a bit but the hints didn't work out or required some key combos that I can't see on my computer.
In Windows you can insert a Unicode character up to 255 decimal value by holding down alt and typing the decimal value on the numpad (if you have one) then releasing alt, this won't work for the snail though because it is higher than 255 (128012) so that rules out notepad from being able to do it. But apps like word and other rich text editors can enter Unicode characters by typing there unicode hex values then pressing alt+x so to get a snail you would type U+1f40c[ALT+x] (the U+ is optional) other than that it is up to each program to figure out how they want to do it if at all. Happy 🐌ing!
Hit Windows key and Period key at the same time to open the Windows Emoji Keyboard. Then type "snail" and enter to insert the snail emoji. 🐌

Disable Unicode (force ASCII) in Outlook 2013 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
Is there any way, via settings or a custom script, to force the use of ASCII-only encoding in Outlook 2013?
I often pass one-liners and code snippets between myself and other developers, and we will copy-paste them into a command-line prompt for testing various tools. A common issue is that the editor will replace hyphens - with some wider "full width hyphen" or "dash" character, that gets converted to an accented ASCII character when we paste it into prompts.
Right now, we resolve it by pasting it into GVIM on Windows and running a VIM script to handle the conversion, but it's a pain and can be unreliable, especially for other developers who hate using VIM. Since all correspondence is handled in English, French, or Italian anyways (we don't get picky with accents), there's no need for unicode support. Can we turn it off?
Thanks.
No, and this has nothing to do with Unicode support in Outlook. This is how Outlook editor (Word) works.
EDIT: you can turn smart quotes off in Outlook: http://www.extendoffice.com/documents/outlook/2084-outlook-disable-turn-off-smart-quotes.html

Saving a document encoded in extended ASCII in Notepad++ [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I would like to know how to save a document using Notepad++ encoded in extended ASCII. When I select ANSI encoding, it is saved as UTF-8 codification (I checked it in HxD, program to see hex data file).
You can't do it with Notepad++. The best way is to paste your text into Wordpad and then save as MS-DOS text format.

MS Word hindi chart [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I work with Microsoft Office Word 2010, and I want to type numbers with Hindi language.
So I go to "Options" and set Numeral to Hindi.
Now I can write hindi numbers ...
But in charts, my numbers don't change to Hindi, and they are still Latin. (I set MS Excel numeral to Hindi too.)
How can I change these??? This is a bad problem!!
A workaround would be to download a Hindi font, say from here: Hindi Fonts. Paste them in the fonts folder in Control Panel. Restart word. Now, in your chart, select the numbers that you wish to show in Hindi, and select the Hindi font you just downloaded. Use Font2 or Font3 from the given link, and it should do the trick.

when copy/paste 'hello' from Word into textarea it becomes 018hello 019 after saving [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I have in Word β€˜hello’ and when I paste it I get 018hello 019 so the apostrophes turn into these strange characters.
The type of web application should not matter as the behaviour is different depending on the workstation I use.
I checked with Notepad, Excel and Wordpad and this issue does not occur, only for Word.
It should be a Word/IE setting .
Do you know which one ?
Thanks
The quotation marks in word are not the "regular" quotation marks. Word automatically replaces quotations as you type them with fancy ones called "smart quotes". Since your browser does not understand smart quotes it replaces them.
This is known as the Word "smart quotes" feature. There should be a place to turn it off somewhere in the Word settings.
More information can be found at the Quotation mark glyphs Wikipedia article.