TRichView import MS Word file with not-English (Unicode)

General TRichView support forum. Please post your questions here
Post Reply
fff13
Posts: 1
Joined: Sat Apr 07, 2012 5:47 am

TRichView import MS Word file with not-English (Unicode)

Post by fff13 »

I'm trying to open file with russian name using OfficeConverters(TRichView version 13.6.2 with Delphi XE2 on Vista machine with English locale). I've got error -1. I don't what does it mean. Usually instead of error code user can get normal message such 'Cannot open file due to ...' I can open the same file if I rename it with English name.
Sergey Tkachenko
Site Admin
Posts: 17562
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Unfortunately, converters require DOS (OEM) file names (it seems so stupid, but it is so). Unfortunately, Russian characters cannot be converted to English OEM file name.
The only solution for your application is copying the file in a temporal location, renaming it without Russian characters, and then open this temporal copy.
Post Reply