Read UTF-8 encoded text content inside table cell

'Setting UTF-8 Encoding in PrintStream' tutorial was cited in a stackoverflow.com forum post in 2017.

The Setting UTF-8 Encoding in PrintStream tutorial was cited in a stackoverflow.com forum post in 2017.

Subject: Read UTF-8 encoded text content inside table cell in MS-word file 
   using Apache POI
Date: Sep 3, 2017
Author: Chathura
Source: https://stackoverflow.com/questions/46020769
   /read-utf-8-encoded-text-content-inside-table-cell-in-ms-word-file-using-apache-p

I'm trying to read a table and exact data in a Microsoft Word document (docx 
file) using apache poi. The file contain UTF-8 encoded characters (Sinhala 
language). I'm using following code block.

   FileInputStream fis = new FileInputStream("path\\to\\file.docx");
   XWPFDocument doc = new XWPFDocument(fis);
   Iterator<IBodyElement> iter = doc.getBodyElementsIterator();
   while (iter.hasNext()) {
      ...

I have already refer several solutions including following.

How to parse UTF-8 characters in Excel files using POI | I'm trying to read a 
table in a Word file. So my Cell object doesn't have getStringCellValue() 
method.

http://www.herongyang.com/Java-Tools/native2ascii-Set-UTF-8-Encoding-in-PrintSt
ream.html | I have already tried this solution and It's not working.
...

Table of Contents

 About This Book

Reference Citations in 2017

 curl/openssl configuration for php under windows

 [RESOLVED] Corrupt dll

 13 Memories Everyone Who Made Mix CDs

 System property javax.xml.soap.MessageFactory

 Add inline image in Rmarkdown

 Enhanced SHA-1 on Parsing Method and Message Digest Formula

 DARE Algorithm: A New Security Protocol

 如何强制java服务器只接受tls 1.2并拒绝tls 1.0和tls 1.1连接

 WSDL คืออะไร WSDL คือ เอกสารข้อมูลของ web service

 Tehnologii Web - securitatea aplicațiilor Web

 在Java中,SSL和TLS的区别及其用法

 Nejde se připojit na youtube

 SOAP response error to source

Read UTF-8 encoded text content inside table cell

 unicode - BOM이없는 UTF-8과 UTF-8의 차이점은 무엇입니까?

 Cách để Xem tập tin XML

 DIFERENÇA ENTRE VIEW E VIEWGROUP NO ANDROID

 τεχνολογιών NFC και QR-code σε πλατφόρμες Android

 Reference Citations in 2016

 Reference Citations in 2015

 Reference Citations in 2014

 Reference Citations in 2013

 Reference Citations in 2012

 Reference Citations in 2011

 Reference Citations in 2010

 Reference Citations in 2009

 Reference Citations in 2008

 Reference Citations in 2007

 Reference Citations in 2006

 Reference Citations in 2005

 Reference Citations in 2004

 Reference Citations in 2003

 PDF Printing Version