Posts by s.panasov

    ISO 8859-5.txt

    WIN 1251.txt

    in byte representation starting from #160 char, thanks to MS .NET, code:

    Encoding enc_iso8859_5 = Encoding.GetEncoding("iso-8859-5");

    for (int i = 0xA0; i <= 0xFF; i++)

    {

    byte[] win_bytes = new byte[1];

    win_bytes[0] = Convert.ToByte(i);

    byte[] utf8Bytes = Encoding.Convert(enc_iso8859_5, enc_utf8, win_bytes);

    System.Console.Write("0x{0} ->", System.Convert.ToString(i, 16));

    foreach (byte b in utf8Bytes)

    {

    System.Console.Write(" 0x{0}", Convert.ToString(b, 16));

    }

    System.Console.WriteLine("");

    }

    Images are encoded with ISO_144, what is normal for Russia manufactured equipment. The problem is that C-FIND request returns text unreadable in the list of studies on Windows based machine (CP2151 + RadiAnt for example). ISO_144 or 8859-5 (equivalent) are not present in MySQL db settings, so study texts are not readable in db either.

    Otherwise RadiAnt shows text tags normally when an image is opened.

    Is there any solution or workaround for this encoding issue?