- A Cookbook question: How to use Unicode inside BlackBox programs?

From: collection <"collection">
Date: Fri, 7 Oct 2005 22:07:13 +0200

Dear Blackbox users,

I use the Unicode character set with BlackBox and soon I get the questions:
Which way should I go to work with Unicode character set inside BlackBox?

I wrote a small test program at the appendix for explaining my questions:

I define a character constant in 4 different ways (a1, a2, a3 & a4) with the
letter A. The letter A is a member of the ASCII character set which is a
subset of the Unicode character set. I used this definition in part 1 and it
works as I expected.

Output to the Log window: 1A 2A 3A 4A 5A 6A 7A 8A

Then I define the letter omega in 4 different ways (omega1, omega2, omega3,
omega4). The letter omega is not an ASCII character. It is an Unicode
character. I use it in part 2.

Output to the Log window: 1O 2O 5O 6O 7 8

As you can see assignment 3 and 4 is not possible (incompatible assignment).
Why?
The character of assignment 7 & 8 is not printable. Why?

Part 3 is for our Harry Potter fans. The output is almost invisible.

The output of part 4 is a question mark only which will pleased the Russian
user.

Who can tell/show me the right way of how to use unicode? I'm looking for a
handy one.

Regards

Helmut Zinn

P.S. It doesn't matter which font is using. You get the same result with
Arial & Courier.

StdCoder.Decode ..,, ..yr....3Qw7uP5PRPPNR9Rbf9b8R79FTvMf1GomCrlAy2xhX,Cb2x
 hXhC6FU1xhiZiVBhihgmRiioedhgrZcZRiXFfaqmSrtuGfa4700zdGrr8rmCLLCJuyKtYcZRiX
 7.2.s,sUP.0k,5TWyql.bnayKmKKqGomC5XzET1.PuP.MHT9N9ntumaU2,CJuyKtQC98P9PP7O
 NbXmb.2.AuAk2kYn.,6.cUGpmWLuOpoKqvCbHZiYpedhA704TeKKw.bHfEWUmL.6..D.b916.C
 cIhgsNHT9N9ntQ8qorG4704D.CbB,708T1U.kye.T.ff02.,U,2v0U00.bnUGLu8ro8quGrmCL
 WKqtE0E.kHE.0.p.,6.M.,U.I3l6w1.0E65.w3AU0KyB.,UIV.UO.,E.12,Ue.E.07626.n,1M
 1Ezzzzzz.G.0EOE.uzzzzz1k5E..E,8Mtr.0E.6E2.c4E.m80.e0.,6j3.S.0Ehk.m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N1QAk
 rqqmSalQbU.sEUl...51.Y7A,51.8nR00U1,DdA..kl..N023PM0HsM.kNiHE.Q6s7b,..C4.6
 HUX,.dtC,,kVUbY4..sM.UA,emIqk4ak2C5.MA.sEkHK1.sIABUd.UA,C5.cA.sEUq..C3H1M8
.6H..Un.U1,S1.sIABUd.UA,..G1.C26C.UHlo.a0.m2q.FFE.b76JN8sQAaUIbx2YbYeZ4eZ4
 eZ0.7PdVOdV0.ogZ4eZ48V0.EmEc..kfKuHin4.Z76pND2gZ4eZ48.EpKOcK8V0.NPdVOdV0..
 J128..5PdDtC.b76pND,lcKOE0GE4IE0GE8kG1GE0mIDME0GE4pG1GE2Y,,3.AJ66XmHin4.d7
 6pNDIfZ4eZGc.knKOcKOc28.AhZ4eZ48V0.kn.V0.kiKuHi1C3kdMO.XN8r76b06HM0.Q8a4EN
 amR00UA,.Q8a4kNamR00UA,.Q8a4EOamR00UAVBEI.YaUIZdg,C3kdMOc6D7V38Vx7V,dE7AA7
 gC7gD7QB7A6X6Vr7Vz8Vp7VX6Vx7Vp7Vz8Vzd6HtCPM09eH786bOMP1rN1KIbGY02emBhq,c9b
 OMP9QgV0CyIhACoruKu8rrmKqKKtCLLCJuGqVGLtmKWKqtCK.4Te..c95uPR9R.7ONbvM,kVkk
.Um,..Unp3.6F6.ZD,6.630U.U76.0E..k.8ssH38pumqm8rtumdcIf9PY62Ulb8.CLL8pumqm
 Y62UmT.2U.kJl1kFF.0U10.bf9bWHZitZhZZcZRC,Mw.ELMSN12UmzU.2.0.E22.p00.32.oZ,
 ZC.G20U2U...G00k.0.0.0mFf32UlSw,sbTX,U,U.2.8Mtr.2..c40.,.1.e0.,6Y1.0.UA2Tm
.mmBjZ92T,eUXDFTXhhgiV1xB..8,2..606.k22.0sfCbsQXX8Utj00MyfU.Qfc7ix6a.D,,..
.
 --- end of encoding ---





Received on Fri Oct 07 2005 - 22:07:13 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:28:08 UTC