![]() ![]() |
Characterset conversions |
Jul 7 2009, 01:34 PM
Post
#1
|
|
|
Group: Members Posts: 31 Joined: 6-November 08 Member No.: 82 |
When converting a message from UTF8 to Windows-1252 format I encounter the following error:
"ERROR :20090707:15.25.04:r4edi(sim_hierchmsgenv(rob2rob)):ConvertFromUCS4, failed to convert: CscConvertFromUCS4: converter error: csc windows UCS-42 character '0x4E7' out of Windows-1252 encoding range" This error causes the mapping to fall into error and the processing of the message is stopped. I added the CSC_NAME=UTF8 on the input-side and CSC_NAME=windows on the output-side of the mapping. In the Datamapper manual (on page 142) the CSC_ALLOWDISTORTION directive is explained, but WHERE do I add this directive? I need the mapping to just log the characterset conversion errors, but still continue processing. |
|
|
|
Aug 6 2009, 09:23 AM
Post
#2
|
|
|
Visitor ![]() Group: Members Posts: 7 Joined: 6-April 09 Member No.: 450 |
In the Datamapper manual (on page 142) the CSC_ALLOWDISTORTION directive is explained, but WHERE do I add this directive? I need the mapping to just log the characterset conversion errors, but still continue processing. The CSC_ALLOWDISTORTION is a adf level directive so can be added in the directives field of the properties for the adf. It should be preceeded by // There is a CSC_ALLOWDISTORTION_SOURCE and _DEST which are map directoves which can be added to the map - the directives field od the properties for the map. That's the theory but unfortunatly the map diectives won't compile as the compiler says it doesn't know them. If you specify the directive on the adf then it compiles but still stops the message if an invalid character is found. Did you get any further with this as I obviously have the same problem? |
|
|
|
Aug 28 2009, 08:10 AM
Post
#3
|
|
|
Group: Members Posts: 31 Joined: 6-November 08 Member No.: 82 |
I just did some testing with the //CSC_ALLOWDISTORTION directive, but still the mapping goes into error when it encounters a character that cannot be converted...bummer
I also ran into the CSC_ALLOWDISTORTION_SOURCE and _DEST compiler problems... Thanks for the info! |
|
|
|
![]() ![]() |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
Lo-Fi Version | Time is now: 30th July 2010 - 01:14 PM |
Skin designed by IPB Forum Skins
Expand / Collapse Navigation



Jul 7 2009, 01:34 PM




