Melis General User

Joined: 13 Oct 2008 Posts: 8
|
Posted: Thu Oct 16, 2008 9:15 pm Post subject: Problem with russian symbols in files' names. |
|
|
Hi, all.
I use oooBasic.
In one of my macro I write so:
| Code: |
dim fp as object
dim s
fp = CreateUnoService("com.sun.star.ui.dialogs.FilePicker")
fp.AppendFilter("Any files","*.*")
fp.SetCurrentFilter("Any files")
if fp.execute() then
s=fp.getFiles()
end if
|
Problem.
When user pick up file with English name var S take correct name,
but if file contain russian symbols, these symbols converted like url
for exmpl:
Договор.doc
converted in
%D0%94%D0%BE%D0%B3%D0%BE%D0%B2%D0%BE%D1%80.doc
I need to show selected files' name to user next time, so I need to convert it back.
How I can do it? |
|