Windows "cmd" shell is capable of processing
Unicode commands. The "task" may need to be
updated to pass Unicode from unicode or UTF-8 input.

Or you can use MoveFile from win32 API directly
http://msdn2.microsoft.com/en-us/library/aa365239.aspx

See http://www.jsoftware.com/jwiki/Guides/Unicode
for an example of MoveFile, uucp requires JAL base library update.

As a side note, using ISO hibrid with Joliet
or UDF are capable of Unicode. It may need to
be supported by the burning software. It definitely
better to preserve the file names then to loose them.



--- Devon McCormick <[EMAIL PROTECTED]> wrote:

> Members of the forum -
> 
> maybe someone can give me some direction on a problem I'm having with
> non-English (two-byte)
> characters in file names.  When I tried to back up music files onto a DVD, I
> discovered that the DVD
> format 1) restricts names to be no longer than 106
> characters, and 2) allows only a restricted character
> set.
> 
> So, if I have a file called "Giusepe Verdi - Höhepunkte aus Rigoletto -
> 07.mp3" - where the second letter
> of "Höhepunkte" is "o diaeresis" (two little dots over the letter "o") and I
> want to rename it to remove the
> character I can't write to my DVD.  I have a rename routine that works for
> files with a few single-byte
> disallowed characters (like ";:?<>" et al.).
> 
> However, it works by creating a batch file full of rename commands, e.g.
> lines like 'ren "Giusepe Verdi -
> Höhepunkte aus Rigoletto - 07.mp3" "Giusepe Verdi - Hhepunkte aus Rigoletto
> - 07.mp3"',
> but these lines get messed up when they are written to the file.  I probably
> can't convey exactly
> how "Höhepunkte" gets mangled as I expect the characters will get messed up
> in this e-mail but the
> second letter shows up as a pair of (odd) letters in the batch file.
> 
> I found a file rename API in "sflfile.ijs" but this fares no better: it
> returns an error code, e.g.
>    file_rename_jsfl_ 'Giusepe Verdi - Höhepunkte aus Rigoletto -
> 07.mp3';'Giusepe
> Verdi - Hhepunkte aus Rigoletto - 07.mp3'
>
+--+--------------------------------------------------+------------------------------------------------+
> |_1|Giusepe Verdi - Höhepunkte aus Rigoletto - 07.mp3|Giusepe Verdi -
> Hhepunkte aus Rigoletto - 07.mp3|
>
+--+--------------------------------------------------+------------------------------------------------+
> 
> Thanks for any ideas you have...


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to