- Unicode in BB

From: [at]} <Антон>
Date: Tue, 04 Jul 2006 16:33:05 +0400

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

Does anybody know a way to make the framework pass Unicode keyboard
input to my views?

A new view I created receives keyboard input and stores it in a string.
Later the string is drawn.

When it is drawn with DrawSString (after respective conversion from
ARRAY OF CHAR to ARRAY OF SHORTCHAR), my Russian letters print OK. But,
if the string is drawn with DrawString, I get Latin-1 characters instead
of Russian.

As far as I understand, this is correct. However, I want to handle
Unicode characters. *I want keyboard input to come to me in Unicode
already, so that I could draw it with DrawString.* Any ideas?

Anton

--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy



----boundary-LibPST-iamunique-593400968_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIERvZXMgYW55Ym9keSBrbm93IGEgd2F5IHRvIG1h
a2UgdGhlIGZyYW1ld29yayBwYXNzIFVuaWNvZGUga2V5Ym9hcmQgXHBhcg0KaW5wdXQgdG8gbXkg
dmlld3M/XHBhcg0KXHBhcg0KQSBuZXcgdmlldyBJIGNyZWF0ZWQgcmVjZWl2ZXMga2V5Ym9hcmQg
aW5wdXQgYW5kIHN0b3JlcyBpdCBpbiBhIHN0cmluZy5ccGFyDQpMYXRlciB0aGUgc3RyaW5nIGlz
IGRyYXduLlxwYXINClxwYXINCldoZW4gaXQgaXMgZHJhd24gd2l0aCBEcmF3U1N0cmluZyAoYWZ0
ZXIgcmVzcGVjdGl2ZSBjb252ZXJzaW9uIGZyb20gXHBhcg0KQVJSQVkgT0YgQ0hBUiB0byBBUlJB
WSBPRiBTSE9SVENIQVIpLCBteSBSdXNzaWFuIGxldHRlcnMgcHJpbnQgT0suIEJ1dCwgXHBhcg0K
aWYgdGhlIHN0cmluZyBpcyBkcmF3biB3aXRoIERyYXdTdHJpbmcsIEkgZ2V0IExhdGluLTEgY2hh
cmFjdGVycyBpbnN0ZWFkIFxwYXINCm9mIFJ1c3NpYW4uXHBhcg0KXHBhcg0KQXMgZmFyIGFzIEkg
dW5kZXJzdGFuZCwgdGhpcyBpcyBjb3JyZWN0LiBIb3dldmVyLCBJIHdhbnQgdG8gaGFuZGxlIFxw
YXINClVuaWNvZGUgY2hhcmFjdGVycy4gKkkgd2FudCBrZXlib2FyZCBpbnB1dCB0byBjb21lIHRv
IG1lIGluIFVuaWNvZGUgXHBhcg0KYWxyZWFkeSwgc28gdGhhdCBJIGNvdWxkIGRyYXcgaXQgd2l0
aCBEcmF3U3RyaW5nLiogQW55IGlkZWFzP1xwYXINClxwYXINCkFudG9uXHBhcg0KXHBhcg0KLS0t
IEJsYWNrQm94XHBhcg0KLS0tIHNlbmQgc3ViamVjdCBIRUxQIG9yIFVOU1VCU0NSSUJFIHRvIGJs
YWNrYm94QG9iZXJvbi5jaH19AApXaXRoIHJlZ2E=


----boundary-LibPST-iamunique-593400968_-_---
Received on Tue Jul 04 2006 - 14:33:05 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:27:49 UTC