Convert txt to pdf with shift jis encoding

Hi Aspose team,
I use Aspose.Word 23.12 to convert a text file with shift-jis encoding (
sjis.zip (184 Bytes)) to pdf. The output is displayed in the format that is not readable.
Here is my code :

var loadOptions = new Aspose.Words.Loading.LoadOptions
{
    LoadFormat = LoadFormat.Text
};

var document = new Document(inFile, loadOptions);
document.UpdatePageLayout();
document.Save(outFile, SaveFormat.Pdf);

I want the output can be displayed Japanese strings normally.
Do you have any option, or API to help convert shift-jis text to pdf successfully?

@dunghnguyen You can explicitly specify encoding in load options:

TxtLoadOptions opt = new TxtLoadOptions();
opt.Encoding = Encoding.GetEncoding(932);

Document doc = new Document(@"C:\Temp\sjis.txt", opt);
doc.Save(@"C:\Temp\out.pdf");

out.pdf (26.3 KB)