diff --git a/src/xercesc/util/Transcoders/ICU/ICUTransService.cpp b/src/xercesc/util/Transcoders/ICU/ICUTransService.cpp
index 045b9a5ced668b6d927d068853ca9dfdb95ac417..49c97df4d2ca657fcda3ac1eca67c0d320999f84 100644
--- a/src/xercesc/util/Transcoders/ICU/ICUTransService.cpp
+++ b/src/xercesc/util/Transcoders/ICU/ICUTransService.cpp
@@ -1089,7 +1089,7 @@ XMLCh* ICULCPTranscoder::transcode(const char* const toTranscode)
         (
             fConverter
             , targetBuf
-            , targetCap
+            , targetCap + 1
             , toTranscode
             , srcLen
             , &err
@@ -1178,7 +1178,7 @@ XMLCh* ICULCPTranscoder::transcode(const char* const toTranscode,
         (
             fConverter
             , targetBuf
-            , targetCap
+            , targetCap + 1
             , toTranscode
             , srcLen
             , &err