Re: [BLACKBOX] Using Cyrillic characters with BlackBox 1.6-rc5

From: [at]} <Treutwein>
Date: Wed, 23 Jul 2008 08:32:27 +0200

----boundary-LibPST-iamunique-40263954_-_-
Content-type: text/plain

Hello everybody,

is it really necessary to have the full unicode set for identifiers
(e.g module, procedure & global variable names)?

I think it is a "nice to have feature", at least for exported
identifiers, but I expect more problems than benefit.

How do you want handle such names when creating DLLs?

It is necessary to support the full Unicode set in texts, i.e.
comments & documentation, but as I understand it, OMiSys BB 1.6rc5
has all changes to handle Unicode.

PS: I don't know how other programming languages handle this problem
and what restrictions are put on globally visible identifiers by
operating systems and/or ABIs. But apparently C# and Java can handle
Unicode identifiers. There is a document on the net, which tries to
provide a universal solution (http://unicode.org/reports/tr31/)
but similar to other universal solutions it appears to be difficult
to digest.

PS2: I tried to post that on Monday, but somehow it did not get
through, now it is a bit extended ...

regards
--
  Bernhard Treutwein
> -----Original Message-----
> From: BlackBox [mailto:BLACKBOX{([at]})nowhere.xy> Ivan N. Goryachev
> Sent: Tuesday, July 22, 2008 6:42 AM
> To: BLACKBOX{([at]})nowhere.xy> Subject: Re: [BLACKBOX] AW: [BLACKBOX] Using Cyrillic 
> characters with BlackBox 1.6-rc5
> 
> 
> Hello Helmut,
> 
> > you are some steps further than I. Are you using DevCPM.PutUtf8 &
> > DevCPM.GetUtf8 for writing & reading the symbol files? Where did you
> insert
> > the call of those procedures?
> 
> look on our BlackBox 1.6 Community
> (http://store.oberoncore.ru/BlackBox/16/blackbox16ce_r135.7z). This is
> in alpha stage, slightly outdated and most of comments/docus 
> in Russian,
> but it`s work. I replaced National to module UnicodeOberon, 
> and you can
> add support for any character set by implementing UnicodeOberon.Hook
> extension.
> 
> > OK, as far as I understand: You can compile the program 
> without errors, but
> > the result is not running. The reason is the limitation of 
> the code files. 
> 
> I can compile program, and result is running. But all names are
> utf8-encoded, and we must decode names any time when use them. And I
> can`t produce and load russian-named modules - due to code 
> files limitation.
> 
> -- 
>   Ivan N. Goryachev
> 
> 
> ----
> To unsubscribe, send a message with body "SIGNOFF BLACKBOX" 
> to LISTSERV{([at]})nowhere.xy> 
----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-40263954_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEhlbGxvIGV2ZXJ5Ym9keSxccGFyDQpccGFyDQpp
cyBpdCByZWFsbHkgbmVjZXNzYXJ5IHRvIGhhdmUgdGhlIGZ1bGwgdW5pY29kZSBzZXQgZm9yIGlk
ZW50aWZpZXJzXHBhcg0KKGUuZyBtb2R1bGUsIHByb2NlZHVyZSAmIGdsb2JhbCB2YXJpYWJsZSBu
YW1lcyk/XHBhcg0KXHBhcg0KSSB0aGluayBpdCBpcyBhICJuaWNlIHRvIGhhdmUgZmVhdHVyZSIs
IGF0IGxlYXN0IGZvciBleHBvcnRlZCBccGFyDQppZGVudGlmaWVycywgYnV0IEkgZXhwZWN0IG1v
cmUgcHJvYmxlbXMgdGhhbiBiZW5lZml0LiBccGFyDQpccGFyDQpIb3cgZG8geW91IHdhbnQgaGFu
ZGxlIHN1Y2ggbmFtZXMgd2hlbiBjcmVhdGluZyBETExzPyBccGFyDQpccGFyDQpJdCBpcyBuZWNl
c3NhcnkgdG8gc3VwcG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MuT0JFUk9OLkNIXHBhcg0KPiBccGFyDQpccGFy
DQpccGFyDQotLS0tXHBhcg0KVG8gdW5zdWJzY3JpYmUsIHNlbmQgYSBtZXNzYWdlIHdpdGggYm9k
eSAiU0lHTk9GRiBCTEFDS0JPWCIgdG8gTElTVFNFUlZATElTVFN9fQBvcnQtQVY6IEU9U29waA=
----boundary-LibPST-iamunique-40263954_-_---
Received on Wed Jul 23 2008 - 08:32:27 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:54 UTC