Text in PDF wasn't encoded as UNICODE.

KB-20190220-01

Version

16.0.0

Cause

First textbox with font Arial.
Second textbox with font Arial and directive #UR INCLUDEFONT UNICODE

Symptoms

Text from the second textbox is encoded ASCII.

Workaround


Use  SetOtherParams() method and "UNICODE"

m.loSession.SetOtherParams("UNICODE",.T.)