chcp 65001 in cmd prompt
Fri, 16 May 2008 10:07:46 -0700 (PDT)
Running XP I have my command prompt font set to the True Type Lucida
console. Type
chcp 65001
clears and resizes the window, which is encouraging. But when I
attempt to display some simple kanji encoded in UTF-8 with
type filename (it contains the 3 kanji for 'nihongo')
I just get three 'missing glyph ...
|
Load US-International keyboard
Thu, 15 May 2008 01:48:00 -0700
I'm running XP-SP2, either English or Dutch. I want to write some code to add
some languages to the regional settings. By using LoadKeyboard layout I am
able to add a language with it's native keyboard (e.g. French with a French
keyboard).
However I want to add French with the US-International keyboard. I hav ...
|
Problem with ActivateKeyboardLayout in Windows XP
Wed, 14 May 2008 15:37:04 -0700
I found he following problem with keyboard layouts when there are multiple
ones for the same language in Windows XP(tested in SP2/SP3).
For example I set "English,USA", "English,USA,Dvorak" and Russian. When I
switch from "English,USA" to "English,USA,DVORAK" and then to Russian using
Alt+Shift, and then my ...
|
Where to start with localization in Win32 (Beginner)
Mon, 12 May 2008 00:11:00 -0700
Hi
Iâ??m trying to add multilingual support to my game development library. Iâ??ve
already created an UString class which supports UTF8, UTF16 and UTF32. Itâ??s
been tested successfully with file IO. I want to add the ability to build
string from keyboard input. For example I was hoping to just be able to c ...
|
bizarre transformation
Sun, 11 May 2008 21:08:06 -0700
I was beating my head against what I thought was a bug, but it appears
that either I do not understand something or "Microsoft is tryig to
rule the world" (again :) )
I have a program with Unicode defines and using CStrings, TCHARs ...
Let's say I have a CString dataText and I do
dataText.SetAt(1,'ö');
TC ...
|
How to change other application language programmaticly?
Sun, 11 May 2008 02:42:01 -0700
Hi,
I would like to change other application language programmaticly.
SetThreadLocale() changes the current thread locale.
GetWindowThreadProcessId() give me the active thread and process but I
didn't find a variant of SetThreadLocale that change other thread locale.
My Motivation: I have clients in India ...
|
is the \MUI\FALLBACK directory always where I am expecting it to be
? (WinXP)
Thu, 8 May 2008 13:56:13 +0300
In case the MUI or LIP is installed on a Windows XP machine, the path
for it is always located in (system)\MUI\FALLBACK\(lcid) ?
Or in case not, can this be find out programatically ?
Reason: I translated something and I want to build an installer for the
few files involved. If the MUI path is always there ins ...
|
|
|
CreateProcessWithLogonW without UAC popup in Vista
Thu, 8 May 2008 01:23:55 -0700 (PDT)
Hi ,
I am trying to create process using CreateProcessWithLogonW() API.
This works fine on Win2000 and NT, but in Vista it gives a UAC popup
before the process (say, notepad, calc, etc) kicks off.
This is the sample program that I am compiling on .NET
/* START OF PROGRAM */
#define UNICODE
#define _WI ...
|
Converting character streams to UTF-16
Wed, 16 Apr 2008 16:37:26 +0100
Hi,
MultiByteToWideChar does not seem to be an appropriate API for converting
DBCS or UTF-8 streams to UTF-16, because it requires an integral number of
those characters in its source buffer. However, .Net has a Decoder class,
which is documented as follows:
"A Decoder object maintains state information be ...
|
Does MultiByteToWideChar() produce UTF-16 or UCS-2?
Tue, 15 Apr 2008 03:54:49 -0700 (PDT)
Hi folks,
I was stumbling across the microsoft explanation about the function
MultiByteToWideChar(). There is stated "Maps a character string to a
wide character (Unicode UTF-16) string."
As stated in http://en.wikipedia.org/wiki/UTF-16 UTF-16 is a variable
length encoded character set (2 bytes or 4 bytes ...
|