>I work on project for a library. Client want to enter book name in different languages (n same form) by changing languages on language bar. How to acomplish that? Question is whitch code page to choose for forms and tables? Whitch font? For example, one book name is in serbian latin, another in serbian cirilic or greek, german, english, french. Default language (most of books) is serbian latin.
>
>Is CP 1251 and Times New Roman CE best solution I can get? What about language for non-unicode programs?
>
>Is it possible to solve this problem?
Not with VFP6. In VFP9 (or maybe just 8, don't remember) you can switch the script for a given textbox - though you'd have all the trouble when printing, then.
Another solution would be to use RTF box, it's practically unicode, and you'd have to store the values in a memo - and also have a regular character field where it'd store the CP 1250 equivalent of the title.
As for switching the keyboard layout, search VFUG.org, there's an article by Vladimir Ševčenko, years ago, about using some neat API to switch them in text.GotFocus(). You'd probably need some other way to select - a combo on top of the form, probably - because his example supposes there are Latin and Cyrillic textboxes. You may need them all in one textbox, so selector would have to be outside.