I have a problem, can't understand why my app doesn't reveal cyrillic text in console with correct codepage. On Win 10 there is ok, but on win serv 2016 there is a problem, I see diagraphs instead cyrillic symbols. Instaling RU Language Pack doesn't help, and switching font to Lucide Console doesn't help too.
Related
In Atom, my code syntax highlighting has been working fine. Then yesterday, I rebooted my computer for probably the first time in a month and when I open Atom, all my syntax highlighting is incorrect.
The language is auto-detected correctly, but all the syntax highlighting is different and incorrect on all files regardless of language.
I've restarted Atom a bunch of times. Tried --safe mode. I have noticed that if I turn of "Tree Sitter" parsing in my config, that syntax highlighting is corrected for some languages such as Javascript, but not all.
Has anyone experienced this and found a solution?
I'm on Mac OS Majave Version 10.14.6, and Atom version 1.57.9 x64
The syntax highlighting is determined by a combination of language grammar (which provides the rules) and your theme (which colours those rules). So, it could be either was updated since you last restarted Atom.
Another possibility is that the language grammar switched from the old TextMate default to tree-sitter. This can be toggled in Atom's core settings.
Preface: About a month or so, we upgraded our work systems from a Windows 7 desktop to a Windows 8.1 Dell laptop. Laptop's file system is NTFS with DDPE file encryption and desktop's file system is NTFS, but no encryption. I tagged in Sublime Text 3 because that's where I have been poking around trying to come up with a solution. I am having issues honing into this specific problem, so I am asking a new question.
Problem: We're getting garbled text issues at the end of file with any extension. Randomly happens to some files on computer restarts. Randomly means it sometimes happens, sometimes doesn't. Happens on projects started on desktop and projects started on laptop. Doesn't matter if the project has been opened during the computer's uptime or not. Seems totally random.
Example: filezilla.xml
</LastServer>
</Settings>
</FileZillZY_ ?
Example: Richmond2015.sublime-workspace
"side_bar_width": 514.0,
"status_bar_visible": true,
"template_settings":
{?c??A
Attempts to fix:
changing between unix and windows line endings
"ensure_newline_at_eof_on_save": true
saving with different file encodings, some were defaulting to Western, changed to UTF-8
I print messages with diacritics in my console application. I tried to set multiple encoding commonly used for my language (CZECH) but non of them is giving me the desired result. I tried UTF-8, Windows(CP1250), ISO 8859-2...
Is there a way how to force console to use some specific encoding?
Or at least where can I find which encoding does my console use?
Thanks in advance.
EDIT: Using Windows 7 - basic command line console ( cmd.exe )
To display the current codepage in cmd.exe:
chcp
To change the current codepage, e.g., to CP-1250:
chcp 1250
By default, the Windows console uses the OEM encoding. There are three encodings for APIs in Windows OEM, ANSI and Unicode. CMD.exe when normally executed uses OEM.
UTF8 seems to be possible, but needs
starting the console with "cmd /u" (create a shortcut)
setting the codepage to chcp 65001
choosing a unicode capable font (e.g. Consolas 20) in the settings of the shortcut
My operation system is Window XP in Chinese.
I'm running flex sdk > asdoc in command line. Asdoc picks up the system default language.
How can I force it to be run in English language environment?
What you needed is the Microsoft AppLocale Utility. It allows you to run an application in the locale you specified. You may change your system locale to English too, but then some of your Chinese applications may not run correctly.
Here is a step-by-step tutorial (with pictures) by Chris Lee. His tutorial describes how to run Japanese applications on Chinese Windows, but it's similar, just replace Japanese by English and it's all done :-).
Asuka Kenji
(from Hong Kong)
I am running the same AIR application under windows, linux and Mac OSX
Windows and Linux look fine, but under mac OS-X the controls are not showing any text.
Button, Tooltips, Labels, Check boxes, everything is blank.
I just ported that app to Flex 4. Flex 3 versions of the same app on the same OSX machine works.
How can I get controls to show text under Max OSX?
Is this a font problem?
I had the same issue when I migrated a user account from another machine into Snow Leopard. The solution seems to be to erase the fonts in ~/Library/Fonts (note that this is the USER font directory, not the system's):
http://discussions.apple.com/message.jspa?messageID=10735681#10735681
This seems to be an issue specific to this Mac computer.
I will close the question since it won't really benefit anybody.