Kbase P114629: Error 6063 with CODEPAGE-CONVERT and IBM278 codepage as parameter
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  03/04/2009 |
|
Status: Verified
SYMPTOM(s):
Error 6063 with CODEPAGE-CONVERT and IBM278 codepage as parameter
Cannot convert to IBM278
the tables for codepages IBM273, IBM277 and IBM297 are not included in convmap.dat file
weuroebc.dat file still contains codepage data for IBM278, but no longer contains conversion tables
CODEPAGE-CONVERT('aa', 'IBM278':U, 'ISO8859-1').
CODEPAGE-CONVERT gives error 6063 when converting to IBM278 codepage:
Code page conversion table for <table-name> to <table-name> was not found in <file-name>. (6063)
Code page conversion table 1252 to IBM278 was not found in convmap.cp.(6063)
Code page conversion table for ISO8859-1 to IBM278 was not found in convmap.cp. (6063)
FACT(s) (Environment):
OpenEdge 10.0B
OpenEdge 10.1x
OpenEdge 10.2x
All Supported Operating Systems
The conversion works fine in Progress 9.
CAUSE:
Code page conversion table 1252 to IBM278 is no longer part of current product since OpenEdge 10.0B
FIX:
Add code page conversion table for 1252 to IBM278 to convmap.cp by following these steps:
1. Make a backup of your %DLC%\prolang\convmap\ms1252.dat and %DLC%\convmap.cp files.
2. Add the following lines to your ms1252.dat file.
#---------------------------------------------------------------------------
# This contains the data needed to convert from
# Convert from Microsoft Western European Code page 1252 to IBM278
CONVERT
SOURCE-NAME "1252"
TARGET-NAME "IBM278"
TYPE "1"
/*000-015*/ 000 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015
/*016-031*/ 016 017 018 019 020 021 022 023 024 025 026 027 028 029 030 031
/*032-047*/ 064 079 127 099 103 108 080 125 077 093 092 078 107 096 075 097
/*048-063*/ 240 241 242 243 244 245 246 247 248 249 122 094 076 126 110 111
/*064-079*/ 236 193 194 195 196 197 198 199 200 201 209 210 211 212 213 214
/*080-095*/ 215 216 217 226 227 228 229 230 231 232 233 181 113 159 095 109
/*096-111*/ 081 129 130 131 132 133 134 135 136 137 145 146 147 148 149 150
/*112-127*/ 151 152 153 162 163 164 165 166 167 168 169 067 187 071 220 032
/*128-143*/ 033 034 035 036 037 038 039 040 041 042 043 044 045 046 047 048
/*144-159*/ 049 050 051 052 053 054 055 056 057 058 059 060 061 062 063 255
/*160-175*/ 065 170 176 177 090 178 204 074 189 180 154 138 186 202 175 188
/*176-191*/ 144 143 234 250 190 160 182 179 157 218 155 139 183 184 185 171
/*192-207*/ 100 101 098 102 123 091 158 104 116 224 114 115 120 117 118 119
/*208-223*/ 172 105 237 238 235 239 124 191 128 253 254 251 252 173 174 089
/*224-239*/ 068 069 066 070 192 208 156 072 084 121 082 083 088 085 086 087
/*240-255*/ 140 073 205 206 203 207 106 225 112 221 222 219 161 141 142 223
ENDTABLE
ENDCONVERT
# This contains the data needed to convert from
# Convert from IBM278 to Microsoft Western European Code page 1252
CONVERT
SOURCE-NAME "IBM278"
TARGET-NAME "1252"
TYPE "1"
/*000-015*/ 000 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015
/*016-031*/ 016 017 018 019 020 021 022 023 024 025 026 027 028 029 030 031
/*032-047*/ 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142
/*048-063*/ 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158
/*064-079*/ 032 160 226 123 224 225 227 225 231 241 167 046 060 040 043 033
/*080-095*/ 038 096 234 235 232 237 238 239 236 223 164 197 042 041 059 094
/*096-111*/ 045 047 194 035 192 193 195 036 199 209 247 044 037 095 062 063
/*112-127*/ 248 092 202 203 200 205 206 207 204 233 058 196 214 039 061 034
/*128-143*/ 216 097 098 099 100 101 102 103 104 105 171 187 240 253 254 177
/*144-159*/ 176 106 107 108 109 110 111 112 113 114 170 186 230 184 198 093
/*160-175*/ 181 252 115 116 117 118 119 120 121 122 161 191 208 221 222 174
/*176-191*/ 162 163 165 183 169 091 182 188 189 190 172 124 175 168 180 215
/*192-207*/ 228 065 066 067 068 069 070 071 072 073 173 244 166 242 243 245
/*208-223*/ 229 074 075 076 077 078 079 080 081 082 185 251 126 249 250 255
/*224-239*/ 201 247 083 084 085 086 087 088 089 090 178 212 064 210 211 213
/*240-255*/ 048 049 050 051 052 053 054 055 056 057 179 219 220 217 218 159
ENDTABLE
ENDCONVERT
3. Compile your new ms1252.dat into a new convmap.cp file. Example:
proutil -C codepage-compiler convmap.dat convmap.cp
by using your new ms1252.dat file