Hi!
Our company has developed LibOpenOffice <http://4k.com.ua/products/others/libopenoffice?lang=en> library for OpenOffice automation. Our clients from China said that this code doesn't work with chinese file path: bool exportToUrl(char *url) { try { int nLenOfWideCharStr = MultiByteToWideChar(CP_ACP,MB_PRECOMPOSED,url,-1,NULL,0); wchar_t *uval = (PWSTR)HeapAlloc(GetProcessHeap(), 0, nLenOfWideCharStr * sizeof(WCHAR)); MultiByteToWideChar(CP_ACP,MB_PRECOMPOSED,url,-1,uval,nLenOfWideCharStr); Reference<XStorable> xStore (xCalcComponent, UNO_QUERY); Sequence<PropertyValue> storeProps(1); storeProps[0].Name = OUString::createFromAscii( "FilterName" ); storeProps[0].Value <<= OUString::createFromAscii( "MS Excel 97" ); xStore->storeToURL( OUString::OUString(uval), storeProps ); //delete uval; return true; } catch( Exception &e ) { return false; } } Regards! IT department, 4K-SOFT.