Can't read Chinese texts [closed] - windows

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
This question does not appear to be about programming within the scope defined in the help center.
Improve this question
If I open a Chinese web page by a browser (ex: Chrome), the web page can show Chinese texts although I don't install Chinese fonts (only use available Windows fonts). However, on almost of Windows softwares, the Chinese texts are not displayed exactly. Ex: "ÐìÖÝ¿­Ðý ĸ֮ËÀ". I don't know what fonts Chrome uses to display Chinese texts? Why other Windows softwares don't use these fonts?

Microsoft (and most Windows ISVs) has elected to use code pages for most of their software, which reduces memory and disk requirements at the cost of sacrificing portability. You'll need to use AppLocale if you want to run software that requires a code page other than the one used by the OS.
Unicode software, on the other hand, will display properly on any code page of Windows that has the appropriate fonts installed, but requires additional support on 9x versions of Windows.

A browser like Chrome is configured to display a default font for certain encoding, or it retrieves from its embedded font types the one suggested by the page mega tag's charset.
Sometimes if the browser guesses the wrong character encoding, you'll still see gibberish and have to manually select the correct encoding to display the character correctly.
For desktop application, either the font is within the environment, or you have to hard-code the font into the application.

Related

Windows 7 cmd: UTF-8 dots appear as blocks. chcp 65001 makes no difference. What is the issue? [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
What I'm seeing:
As show above, the utf-8 "dots" that should be appearing are being replaced by blocks. I read elsewhere that chcp 65001 might be a solution, but it yields no results nor differences.
This is what it should look like:
I don't have access to Windows 7, but I could reproduce your problem on Windows 10 when running gtop from the Command prompt. I tried several different fonts in the Command window, but none of them fixed the issue.
Here's an example of the problem when using Courier New:
Although this is not a bug with gtop itself, there is a closed issue associated with it. See "Windows Command Prompt Font Support #21". The issue is resolved by downloading the Iosevka font, installing it, and setting it as the font for the Command window.
Once Iosevka font is being used in the Command window, blocks are replaced by dots in gtop's graphs:
Notes:
I did not change the code page to 65001. Everything worked using my default code page (437).
In that issue report, section 2 ("Add Iosevka to Command Prompt") details the use of regedit. I skipped that step and everything still worked. Perhaps it is required on some other Windows version(s), but it is not necessary on Windows 10.
Iosevka is a monospaced narrow font, and seems fine for general use as the Command window's font.

Windows XP Login Box Customization [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 9 years ago.
Improve this question
A slightly weird question, and not one relating to programming, but a rather GUI based question.
I would like to change the Windows XP Ribbon Image, that appears at the Classic Logon Screen for Windows XP.
See the attatched images for more info.
This is completely possible, I have seen it done before, it will be somewhere In the registry.
Thanks,
Dan
First, the bitmaps are actually contained within a dll, but the part you are concerned with is not one bitmap image. The whole box is composed of a bitmap image on top, a little bitmap to the left, and text strings all contained in this dll.
c:\windows\system32\msgina.dll
I followed this document, and downloaded "Resource Hacker" (linked on the page) to edit the dll.
http://www.infocellar.com/winxp/customize-logon-screen.htm
To anyone trying this: BACKUP MSGINA.DLL BEFORE YOU DO ANYTHING.
The exact bitmap depends on the version, and frankly, I am not which one it is. Note that the bitmap only covers the top half of the login box. The rest is still contained within the msgina.dll, and can also edited using Resource Hacker. If you are using XP Pro, the image you probably want is in Bitmap>101 or 107.
You can use use Resource Hacker to copy out the bitmap, and to bring it back in.
The string text is contained in String Table>114.

Use Google Web Fonts in commercial native Cocoa apps? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this question
Can Google Web Fonts be legally used in commercial native Cocoa apps on OS X? Google says officially that one can use the fonts for free on commercial websites, but didn't state specifically the case with native apps.
Currently I've downloaded the font (in woff format) from the URL defined in CSS, converted it via an online tool to ttf and included it in my project.
From http://www.google.com/webfonts/#AboutPlace:about
"All of the fonts are Open Source. This means that you are free to share your favorites with friends and colleagues. You can even customize them for your own use, or collaborate with the original designer to improve them. And you can use them in every way you want, privately or commercially — in print, on your computer, or in your websites."

License of fonts included with 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 programming within the scope defined in the help center.
Closed 7 years ago.
Improve this question
I'm wondering what is the license of the fonts included with Windows. Does anybody know where I could find the EULA for them? In general, can I freely use these fonts in my open source software?
In general, I know I cannot distribute the font file itself, but how about simply displaying some text with this font? For example, Arial is used in many websites, I guess these websites don't pay some extra license fee to Microsoft?
The Arial wikipedia article describes the licensing terms of Microsoft fonts. And, it also specifies free alternatives available that are metrically equivalent to Arial. Liberation Sans is a good choice IMO. Look at relevant wiki articles to know all the free alternatives available.
Most of the Windows fonts are licensed to Ascender corporation. They now provide license for software and hardware developers to use them. See Type Foundry: Microsoft for more information, and the fonts available.
In addition to that, if you go to right-click -> properties, there's a tab called license. It provides the information about licensing terms as well.
When it comes to use of fonts like Arial in websites, I think it's allowed because the website itself doesn't embed the font, but merely specifies the font name. It's the browser that does the mapping. If you are talking about a stand-alone software, you need to have a closer look.
You are free to use the fonts supplied with Windows, free to write software that uses them, but you cannot distribute them.

Free printer for printing to PNG (or SVG) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Is there a good free printer driver for printing something to PNG (or maybe even SVG) for Windows (I use 7 64bit)? I've got this site with some statistics and it displays this cool graph. It's got an embed feature, but that's using flash. I want to put this graph on my blog, but I don't want to use flash for mobile browser reasons. This site also supports printing the graph. So what I thought I would do is print the graph to a PNG or SVG file and use the picture.
I've been searching around and I can't really find anything good or I'm just not typing in the correct keywords. Either way if you know of a good printer-to-file please share. Or if you see any other way.
BTW: Can smart phones even handle SVGs?
Try PDFCreator, it's free/opensource and allows saving as SVG, PDF etc...
Yes, most smartphones can handle svg, the browser on the iphone does for example, and if you install Opera Mini (available for most phones) you can view svg just fine. Opera Mobile and the mobile version of Firefox for Android also supports SVG. The exception is the default browser on Android 2.3 and below, which doesn't support SVG currently.
Print to PostScript then use either Cairo or ImageMagick to convert it to PNG or SVG.

Resources