Ansi2unicode

Good day ppl, I require your assistance.
I am reading an rtf document, parsing it and puting text into database for further use. However that data is in ansicpg 1251 (Windows 3.1 (Cyrillic)). This poses some problems as I need to be able to either store the data in unicode or transform user's query to ascii so that I can search the database. I am however cueless how that can be done. Enlighten me someone
(exerps from rtf referense:)
Word 2002 is a Unicode-enabled application. Text is handled using the 16-bit Unicode character encoding scheme. Expressing this text in RTF requires a new mechanism, because until this release (version 1.6), RTF has only handled 7-bit characters directly and 8-bit characters encoded as hexadecimal. The Unicode mechanism described here can be applied to any RTF destination or body text.
\ansicpgN This keyword represents the ANSI code page used to perform the Unicode to ANSI conversion when writing RTF text. N represents the code page in decimal. This is typically set to the default ANSI code page of the run-time environment (for example, \ansicpg1252 for U.S. Windows). The reader can use the same ANSI code page to convert ANSI text back to Unicode. Possible values include the following:

1. Your problem statement is vague. "however that data is in ansicpg... "
What data is in ansi?

Similar Messages

Maybe you are looking for

  • Keymapping (follow up from another thread)

    To follow up on another thread, I checked out the keymappings and found most of what I was looking for. Only a couple of things I miss: 1. SHIFT + TAB doesn't pull the text back with it if the text is not selected. I am convised most editors do this

  • Error while transferring Vendor master from R/3 to SRM

    Hi, I have done the following. R/3 . 1. Vendor creation in Xk03 for the organisation SRM. 1.Created a vendor group in PPOCV_BBP Entered the following in BBPGETVD. 1. Logical system 2.Vendor 3.Purchase organisation. 4. tice mark in address comparion,

  • How to import/capture DVD or CD-ROM video into FCE4 to edit?

    No copyright issues here. The DVDs are public relations material from government agencies or private companies that WANT their material to be used. How to get this off the disc and into Final Cut Express 4 in a format that can be edited? g.

  • Configuration of Extended Withholding Tax

    Dear Friends, Please send me the document of configuration of Extended withholding tax for India. Please treat this as urgent. Thanks & Regards, Reva.

  • Printing options in parameters of function module of smartforms

    HI experts, i hav a loop inside driver program where for every loop it calls smartform and the printing is continuous. But can any one help me how to control this by not displaying LPD. So that directly i can see the preview after all loop passes Adv