![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| Guest | Alpha-Sign Hello there I have a problem with special characters. I need to print the alpha and beta sign within a text. Is there a possibility to do this? It doesn't work with chr() or chrw(). Thanks for help in advance! Regards, Luzia |
My System Specs![]() |
| | #2 (permalink) |
| Guest | Re: Alpha-Sign "Luzia Baumgartner" <nospam@xxxxxx> wrote in message news:%234O$stw%23JHA.5068@xxxxxx Quote: > Hello there > > I have a problem with special characters. I need to print the alpha and > beta sign within a text. Is there a possibility to do this? It doesn't > work with chr() or chrw(). > > Thanks for help in advance! > > Regards, > > Luzia that has a character that is what you want, and the code point (number you would put in Chr() or ChrW() ) to display that character. You should have mentioned what values you put in your chr() or chrw() rather than saying only "It doesn't work with chr() or chrw()." The characters displayed by Chr()/ChrW() with values less than 256 are dependent on your computer's Locale; what works in one locale might display something entirely different in another locale. There is info about Locale and changing it for the duration of your script, in the scripting help file, script56.chm, which is probably installed on your computer. You also didn't mention how you are trying to display the character, like in a message box or in an IE window. I can't remember the procedure to change the font for message boxes, but default installations of WXP uses a font with a fairy wide range of Unicode characters. Knowing your OS would also help with giving you a useful response. There is a tool built into Windows for displaying all the characters available in the various installed fonts. I can't remember the name of this program, but perhaps your computer's help & support can give you that info. You probably need a Unicode code point; see www.unicode.org for all things Unicode. If you haven't been there before, be sure to look at the topics displayed when your cursor hovers over 'New to Unicode' and 'General Information' in the upper left corner. -Paul Randall |
My System Specs![]() |
| | #3 (permalink) |
| Guest | Re: Alpha-Sign Luzia Baumgartner wrote: Quote: > I have a problem with special characters. I need to print the alpha and > beta sign within a text. Is there a possibility to do this? It doesn't > work with chr() or chrw(). > You can explore the fonts on your machine using the "Character Map" utility. (On my system, start menu => Programs => Accessories => System Tools => Character Map. Again, on my system, the truetype font called "Symbol" has an alpha and beta character, which is produced from the ascii characters a and b (you get upper case alpha and beta for upper case A and B, and correspondingly lower case alpha and beta for lower case a and b). If you search around, you may find other fonts with alpha and beta. Greek fonts, for example. Or math fonts (as mathematicians love to use Greek characters). This is begging a perhaps more critical question -- how are you going to change the font. And for that, you need some utility which allows you to select a font. Most editors allow for this: notepad on the low end, and msWD on the high end. cheers, jw ____________________________________________________________ You got questions? WE GOT ANSWERS!!! ..(but, no guarantee the answers will be applicable to the questions) |
My System Specs![]() |
| | #4 (permalink) |
| Guest | looking for alpha/beta? -- beware the "scharfe-ess" fwiw, if you go looking through fonts for the alpha and beta characters, you will come across something that "looks like" a beta character, but with no adjacent alpha. What is that? It so happens that is the character for the German "Scharfe-ess". Note that it appears amongst the accented characters not normally used in (American) English. The "Scharfe-ess" is used in German (sometimes) in place of a double-s. For example, Fuss (foot) becomes "Fuß", or Wasser (water) becomes Waßer. (Those characters look correct on my screen, but not sure they will come through the ng posting properly). If not, the character I am referring to is (ansi?) 223. I am told by German-speakers that the "Scharfe-ess" sounds (slightly?) different from a double-s, when spoken. But I can't hear the difference. But that's getting off the subject. cheers, jw |
My System Specs![]() |
| | #5 (permalink) |
| Guest | Re: looking for alpha/beta? -- beware the "scharfe-ess" [OFF TOPIC] mr_unreliable schrieb: [...] Quote: > The "Scharfe-ess" is used in German > (sometimes) in place of a double-s. For example, Fuss (foot) > becomes "Fuß", or Wasser (water) becomes Waßer. [...] Quote: > If not, the character I am referring to > is (ansi?) 223. http://czyborra.com/charsets/codepages.html Quote: > I am told by German-speakers that the "Scharfe-ess" sounds > (slightly?) different from a double-s, when spoken. But I can't > hear the difference. Quote: > But that's getting off the subject. Quote: > cheers, jw |
My System Specs![]() |
| | #6 (permalink) |
| Guest | Re: Alpha-Sign Hi Paul Sorry for not being more accurate in describing my problem. We found out the reason why it doesn't work: the version of the tool we are using with this VBScript is too old to handle Unicode... Regards Luzia "Paul Randall" <paulr901@xxxxxx> schrieb im Newsbeitrag news:e$Mkw4x%23JHA.4376@xxxxxx Quote: > > "Luzia Baumgartner" <nospam@xxxxxx> wrote in message news:%234O$stw%23JHA.5068@xxxxxx Quote: >> Hello there >> >> I have a problem with special characters. I need to print the alpha and beta sign within a text. Is there a possibility to do >> this? It doesn't work with chr() or chrw(). >> >> Thanks for help in advance! >> >> Regards, >> >> Luzia > To display any particular character, you need at least two thing: a font that has a character that is what you want, and the code > point (number you would put in Chr() or ChrW() ) to display that character. > > You should have mentioned what values you put in your chr() or chrw() rather than saying only "It doesn't work with chr() or > chrw()." The characters displayed by Chr()/ChrW() with values less than 256 are dependent on your computer's Locale; what works > in one locale might display something entirely different in another locale. There is info about Locale and changing it for the > duration of your script, in the scripting help file, script56.chm, which is probably installed on your computer. > > You also didn't mention how you are trying to display the character, like in a message box or in an IE window. I can't remember > the procedure to change the font for message boxes, but default installations of WXP uses a font with a fairy wide range of > Unicode characters. Knowing your OS would also help with giving you a useful response. > > There is a tool built into Windows for displaying all the characters available in the various installed fonts. I can't remember > the name of this program, but perhaps your computer's help & support can give you that info. > > You probably need a Unicode code point; see www.unicode.org for all things Unicode. If you haven't been there before, be sure to > look at the topics displayed when your cursor hovers over 'New to Unicode' and 'General Information' in the upper left corner. > > -Paul Randall > > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Alpha Five Printer | Vista hardware & devices | |||