Re: creating unicode folder and files
- From: "ekkehard.horner" <ekkehard.horner@xxxxxxxx>
- Date: Fri, 28 Sep 2007 14:25:59 +0200
Paul Randall schrieb:
Hi, Ekkehard,[...]
I don't play with Unicode much, but I have played a little with displaying Unicode characters produced with the ChrW function. Various fonts fail to display various characters properly. I imagine it gets kind of messy if, for example, the font used in the explorer windows does not have glyphs for the characters in the file names, and I don't fully understand how 'what you see' is affected by changing the computer's locale. Do you have any suggestions on how to get around this problem, or is there some font that has the largest number of available glyphs that can be used?
I faintly recall that Office 2000 contained some font that had a very large number of glyphs.
http://office.microsoft.com/en-us/ork2000/HA011382861033.aspx lists a number of fonts that handle multiple languages.
-Paul Randall
Hi Paul,
VBScript character/string data is Unicode (2 bytes); the current locale
affects how ANSI (1 byte) data are translated from/to Unicode when you
read from/write to a file (cf. format parameter of functions like
OpenTextFile). So if you need funny characters in your in or out data,
you should use Unicode files (format == Unicode == TriStateTrue). If
you work against a database, text fields should be adVarWChar.
Whether the data displays correctly depends on the agent. You can get
a Unicode DOS Box by starting cmd.exe with /U and specifying Lucida
Console; a browser should honor a "charset=utf-16"; applications like
Word or Excel may ask for confirmation but can handle such files.
My first choice of a font would be Arial Unicode (I'd expect that to
installed on every 'modern' windows computer). If some of my funny
characters display as small boxes I start my hunt for a font at these
web sites:
http://www.unicode.org/
http://www.unicode.org/onlinedat/resources.html
http://www.microsoft.com/typography/SpecificationsOverview.mspx
http://www.microsoft.com/typography/fonts/default.aspx
Regards
Ekkehard
.
- Follow-Ups:
- Re: creating unicode folder and files
- From: Paul Randall
- Re: creating unicode folder and files
- From: Paul Randall
- Re: creating unicode folder and files
- References:
- creating unicode folder and files
- From: Steffen Meier
- Re: creating unicode folder and files
- From: ekkehard.horner
- Re: creating unicode folder and files
- From: Paul Randall
- creating unicode folder and files
- Prev by Date: Re: creating unicode folder and files
- Next by Date: Re: WMI class to set Speed and Duplex settings?
- Previous by thread: Re: creating unicode folder and files
- Next by thread: Re: creating unicode folder and files
- Index(es):
Relevant Pages
|
Loading