Skip to Main Content

Japanese

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

半角スペースの文字化け

926548Apr 5 2012 — edited Apr 6 2012
Excel(2007)上、CODE関数で見ると160となっている半角スペースがあります。

Excel VBAからOraOLEDBを使用し、CharsetがUTF8のDBへデータをINSERTすると、「?」に文字化けします。
INSERT後のデータをDump(1016)で見ると、c2,a0となっています。

Oracle ClientのNLS_LANGは、Japanese_JapanのJA16SJISTILDE、UTF8いずれで実行しても同じ状況です。
Replace関数を使用して、Chr(160), ChrW(&HA0)を置換してみましたが、置換されず文字化けしました。

その他、VBAにて、この半角スペースを正しくINSERTする方法をご存知の方、ご教示をお願いします。
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 4 2012
Added on Apr 5 2012
3 comments
4,993 views