Unicode User Name Causes Opera Plugin Problem

The PDF-XChange Viewer for End Users
+++ FREE +++

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

User avatar
Bhikkhu Pesala
User
Posts: 1776
Joined: Tue May 29, 2007 9:29 am

Unicode User Name Causes Opera Plugin Problem

Post by Bhikkhu Pesala »

You may be interested in this post on My Opera. Some users were having trouble getting PDF plugins to work (for both Adobe and PDF-XChange), but user Tomica seems to have found the cause. PDF-XChange gave a useful error message, whereas Adobe Reader did not.

From this post:
Just as I thought, it was related to a non-ASCII Windows Username. What confused me earlier was the fact that Reader wasn't reporting any particular error when this happened, so I could only guess what it was. When I tried using PDF XChange Viewer like Barthez recomended, I got an error report for the first time. It said something about cache path not being valid and displayed this path:
C:\Documents and Settings\%#@*^!\Application Data\Opera\Opera\Profile\Cache4
As you can see, I highlighted my User folder name, which is Томица. It's not being read propperly, and that coused this unpleasant error.

There can be two possible solutions for this problem before the good people that develop PDF plugins become aware of it and fix it:
  • Create a new Windows account, but make its name an ASCII one. It will then be easy later to change its actual display name, but will keep the personal folder name and path to Opera's Cache pdf-plugin-safe.
  • Much easier solution, to change Opera's Cache path, but this time include only ASCII folder names. To do so, [url=opera:config#UserPrefs|CacheDirectory4]click here[/url].
I tested the second solution and of course, it worked like a charm, with both Adobe and XChange Viewer plugin. :wizard: I made my path this one:
C\Program Files\Opera\Cache4
A big thank you to all of you guys for helping me solve this many-years-long mystery :yes:
Windows 10 Home 64-bit • AMD Ryzen 5 3400G, 8 Gb
Review: http://www.softerviews.org/PDF-XChange.html
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3603
Joined: Thu Jul 08, 2004 10:36 pm

Re: Unicode User Name Causes Opera Plugin Problem

Post by Ivan - Tracker Software »

Sorry, but it is not our fault. Mozilla plugin's function NPP_StreamAsFile gets file name as an ASCII string, and, for sure, localized file names are not supported.
As I had found, there was internal discussion in Mozilla community about this problem, but, as I understood, with no result.
PDF-XChange Co Ltd. (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.