IBM Support

PM27735: Default behavior of CCRC Integrated diff/merge tool should be to treat extended ASCII as UTF8 encoded

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In ClearCase Remote client 7.1.1, when an extended ASCII file
    encoded as UTF8 is stored in ClearCase
    as an element type that is NOT based on type manager
    'utf8_file_delta' and
    the CCRC preferences are NOT explicitly set to use UTF8 as Text
    File Encoding
    Then using 'CCRC Integrated (UTF8)' Compare/Merge tool to
    compare versions results in garbled text.
    
    Steps to Reproduce:
    
    1. Use a VOB that is set up for managing UTF8 files in a 7.0.x
    and earlier environment
       That is, UTF8 files manged as binary_delta_file or
    compressed_file
    2. Access files in CCRC 7.1.1.x, with default Compare/Merge tool
    set to 'CCRC Integrated (UTF8)'
    3. Invoke 'Compare to Predecessor'
    
    
    Workarounds:
    
    1. Implement 'utf8_file_delta' type manager (In a fully migrated
    ClearCase 7.1 environment)
    a. Create a new element type based on type manager
    'utf8_file_delta'
    b. Identify all UTF8 files and chtype them to the new element
    type
    c. Ensure that all new files that will have UTF8 content also
    get managed with the new element type
    
    2. Set the Eclipse workspace 'Text File Encoding' to 'UTF8'
    CCRC ? Window ? Preferences... ? General ? Workspace ? 'Text
    File Encoding'
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When determine the encoding of the file,if the type manager
    of the file is not included in[utf8_file_delta,
    utf16le_file_delta, utf16be_file_delta, utf32le_file_delta,
    utf32be_file_delta], then will use the encoding that set in
    Eclipse "Window?Preferences?General?Workspace" , So to avoid
    the problem, change the encoding to UTF-8 if none is found
    in the above specified type manager.
    

Problem conclusion

  • Delivered in ClearCase versions 7.1.1.5 and 7.1.2.2.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM27735

  • Reported component name

    CLEARQUEST WIN

  • Reported component ID

    5724G3600

  • Reported release

    711

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-11-29

  • Closed date

    2011-03-28

  • Last modified date

    2011-03-28

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    CLEARCASE WIN

  • Fixed component ID

    5724G2900

Applicable component levels

  • R711 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 March 2011