Windows character set 1251(Cyrillic) ASCII to EBCDIC convertion table

Posted on 2005-04-20
Last Modified: 2007-12-19
Can someone tell me where I can find ASCII to EBCDIC convertion table for Cyrillic 1251 Windows character set?
Question by:ANBURAJU
    LVL 27

    Expert Comment

    I don't know of one myself, but to make one is not that difficult.
    I presume that you mean the EBCDIC Russian code page 1025, whose contents can be viewed, inter alia, here :-

    The 1251 Windows code page can be viewed here :-

    Author Comment

    Thanks BigRat.

    By the way, I need to convert all the text in the communication buffer from its ANSI Cyrillic 1251 to the equivalent EBCDIC character format, before I send this buffer to IBM Mainframe application. There could be some ready references that could have been used by someone. My search on the net gives me either one or the other character sets, nothing on the convertion data.

    It would be of great help if someone points out some URLs to get the required conversion data.
    LVL 27

    Accepted Solution

    In which programming language?

    Pseudo code :-

    cp1251_to_cp1025 : array[0.255] of Char;

    cp1251_to_cp1025[0] = 0;

    You must look up the charcater in the cp1251 and search for it in 1025 and then set the entry to the EBCDIC code value.

    for i from 0 to BuffLeng-1 do
       outBuffer[i] = cp1251_to_cp1025[inBuffer[i]];

    The main work is writing down the table by hand.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Course: HTML5 Mobile App Development with PhoneGap

    PhoneGap can help you leverage your already existing HTML5, JavaScript, and CSS skills in order to create and deploy cross-platform mobile apps.This program comprehensively covers HTML5 mobile app development from top to bottom.

    Suggested Solutions

    Title # Comments Views Activity
    countEvens challenge 2 46
    Sql how to exclude from a table 3 60
    endX challenge 2 30
    mapShare challenge 13 40
    Here we come across an interesting topic of coding guidelines while designing automation test scripts. The scope of this article will not be limited to QTP but to an overall extent of using VB Scripting for automation projects. Introduction Now…
    Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
    In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now