https://bugs.kde.org/show_bug.cgi?id=367863

            Bug ID: 367863
           Summary: add string encoding="ebcdic"
           Product: okteta
           Version: unspecified
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: Structures Tool
          Assignee: arichardson....@gmail.com
          Reporter: errone...@gmail.com
                CC: kosse...@kde.org

version 0.19.3 (not in version list)

I'm trying to make structures for ANSI X9.37 files, but ASCII strings aren't
working for EBCDIC encoded files. It's great that I can change the encoding in
the data window, but structures don't respect that encoding.

Reproducible: Always

Steps to Reproduce:
1. Make file with the following hex:
C8 85 93 93 96 40 E6 96 99 93 84 5A
2. Make a .ods with the following content:
<?xml version="1.0" encoding="UTF-8"?>
<data><struct name="ebcdic_example"><string name="hello_world" length="12"
encoding="ebcdic" /></struct></data>

3. Load the structure and your file, click Script Console.

Actual Results:  
Unrecognized string encoding "ebcdic"
Bad string encoding given: "ebcdic"

Expected Results:  
1 structure named ebcdic_example with 1 field named hello_world with the
contents "Hello World!"

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to