report zunicode_025.
data: cp_tab type nls_langu_cp_tab,
l_wa type nls_langu_cp_line,
cc type ref to cl_nls_struc_container.
*
data: begin of downtab occurs 100,
content(500),
end of downtab.
data: begin of head occurs 100,
* header(1),
txjcd(6),
* aa(20),
end of head.
*head-header = '1'.
head-txjcd = '가나다라마'.
*head-aa = '아자차'.
append head.
* Non Unicode(한글 2바이트로 인식)
l_wa-langu = '3'.
l_wa-codepage = '8500'.
insert l_wa into table cp_tab.
cc = cl_nls_struc_container=>create( cp_tab = cp_tab ).
try.
call method cc->struc_to_cont
exporting
struc = head
langu = '3'
importing
cont = downtab-content.
catch cx_sy_conversion_codepage .
catch cx_parameter_invalid_range .
endtry.
append downtab.
loop at downtab.
write : /1(100) downtab-content.
endloop.
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
291 | report zunicode_027. [4] | sapjoy | 2008.11.22 | 6356 |
290 | report zunicode_026. | sapjoy | 2008.11.22 | 2786 |
» | report zunicode_025. | sapjoy | 2008.11.22 | 2491 |
288 | report zunicode_022. | sapjoy | 2008.11.22 | 2616 |
287 | report zunicode_017. | sapjoy | 2008.11.22 | 2813 |
286 | report zunicode_019. | sapjoy | 2008.11.22 | 2331 |
285 | report zunicode_018. | sapjoy | 2008.11.22 | 2237 |
284 | report zunicode_016. | sapjoy | 2008.11.22 | 2303 |
283 | report zunicode_015. | sapjoy | 2008.11.22 | 2229 |
282 | report zunicode_014. | sapjoy | 2008.11.22 | 1739 |
281 | report zunicode_013. | sapjoy | 2008.11.22 | 2212 |
280 | report zunicode_012. | sapjoy | 2008.11.22 | 2222 |
279 | report zunicode_011. | sapjoy | 2008.11.22 | 2178 |
278 | report zunicode_010. | sapjoy | 2008.11.22 | 2284 |
277 | report zunicode_009. | sapjoy | 2008.11.22 | 2233 |
276 | report zunicode_008. | sapjoy | 2008.11.22 | 2468 |
275 | report zunicode_007 | sapjoy | 2008.11.22 | 2489 |
274 | report zunicode_006. | sapjoy | 2008.11.22 | 2321 |
273 | report zunicode_005. | sapjoy | 2008.11.22 | 2233 |
272 | report zunicode_004. | sapjoy | 2008.11.22 | 2413 |