Alejandro Torras wrote:
Hi,
I found that XPCOM.dll provided by JRex project doesn't handle well file
names that contains non-ascii characters like:
C:\Documents and settings\ADministrador\Configuración local\Temp\
^
When it's being initialized appears the next messages:
InitXPCOMInternal()--> **** USING XPCOM PATH <C:\Documents and
Settings\Administrador\Configuración local\Temp\jrex_gre\xpcom.dll> ****
It appears to me at first glance that a UTF8 string is being passed to
NS_NewNativeLocalFile, which is incorrect. Either use UTF16 with
NS_NewLocalFile or the native multibyte codepage with NS_NewNativeLocalFile.
--BDS
_______________________________________________
dev-tech-xpcom mailing list
dev-tech-xpcom@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-xpcom