Importing Cyrillic data

I am trying to amend an older application to support Cyrillic text in Notes6.

I have a text file (in windows-1251 character set), from which I am trying to create a Notes document using Lotuscript. The LS agent opens the file and creates a document with various fields based on the content of the text file.

However I cannot find any way of specifying that the fields are in a given character set… so the imported text appears as western characters not the cyrillic ones. From a browser I can change the browser encoding and see the correct characters, but if I change the web settings in Notes to the correct code page I still get the wrong characters.

Does anyone have any pointers as to how I should import the data so it displays correctly in the Notes client? Mime-types would seem to apply more to web or e-mail composition, but would this be a way of specifying the import translation to the correct characters??

Many thanks in advance for any assistance!

Subject: Importing Cyrillic data

You should be able to specify the charset in the Open statement. This converts the data as LotusScript reads the file. You are right – it has nothing to do with MIME. It is only that Notes happens to use the MIME charset names in the Open statement, rather than inventing different charset names.

Subject: Open “ASCII.TXT” for input as ff CHARSET=“Windows-1251”

Subject: RE: Open “ASCII.TXT” for input as ff CHARSET=“Windows-1251”

Many thanks to you both. R