Page 1 of 1

Unicode character paths and /C switch

Posted: 2008 Jun 03, 21:03
by desslok
If there is an "ideographic space" (Unicode: 0x3000, see below) in a path,
http://www.alanwood.net/unicode/cjk_sym ... ation.html
Editor² with /C switch involed (/C:2 for UTF8, for exmaple) fails to open the file.

Posted: 2008 Jun 04, 08:42
by nikos
/C controls the encoding of the content, not the filename

Posted: 2008 Jun 04, 17:46
by desslok
nikos, I understand that. Could you just copy an ideographic space and see if it's reproduceable? Is it possible that the last two digits of 0x3000 are interpreted as a null character?

Posted: 2008 Jun 04, 18:47
by fgagnon
desslock,

nikos left me a message earlier today that he will be away on vacation until mid June.

In the mean time, it may be helpful to see whether your observation is unique to xplorer² and Editor².

Does the issue occur trying open such files with other editors/viewers?
What apps open the file(s) correctly?
Can you open the file(s) from Windows Explorer with Editor² ?

Please note that my questions are strictly shots in the dark, as I have no experience with ideographic fonts and have none installed to even try to check.  Please accept my apologies if my questions are irrelevant.  

Other users of ideographic fonts/characters are welcome to step in and post their experience and suggestions.

Posted: 2008 Jun 04, 22:19
by desslok
fgagnon,

Thanks for your reply. This happens only when the /C switch is invoked. Without it, Editor²  (as well as notepad and other unicode-supported editors) can open those files fine.

Since the /C switch is involved in this bug, reference to other editors is irrelevant. However, Opera, the web browser, can't open those files either. Other browsers can open those files fine. So I am suspecting that this is due to an idiosyncrasy of the component used in Editor² (and Opera).

Posted: 2008 Jun 14, 07:45
by nikos
i bet that even without this /C if you pass the filename in quotation marks you'll have the same problem

Posted: 2008 Jun 14, 12:58
by desslok
Ha! The problem solved with quotation marks.

Code: Select all

>editor2_UC.exe /C:2 "$A"
So, the ideographic space is treated the same way as the usual space, it seems.