Fudging multilingual support

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Sep 2 20:27:31 CDT 2003


on 9/2/03 7:26 PM, Marcus Bointon at marcus at synchromedia.co.uk wrote:

> I have an existing Valentina project using V4MD and V4RB. It's multilingual,
> but translations are stored as records in in a baseobject with a single
> ASCII VarChar field and a language pointer. I don't need searching or
> sorting of this data, merely storage & retrieval (all done by RecID). So far
> I've got by with this approach, as it works well enough for western
> languages. However, I now need to support Russian, Czech and Polish.
> As I know what language a given translation is in (from the language
> pointer), am I safe continuing with this method, treating ASCII as a
> straightforward 8-bit-clean container?

Yes, Marcus,

Russian, Polish, Ukraine, have simple 8 byte chars.

> That way, as I retrieve text, I can
> tag it with the known language and render it using an appropriate font.

> Ideally of course I would do all this in Unicode, but that's not a reality
> yet.

> Does anyone know of any open code for manually handling text encodings in
> Lingo?

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list