Bad characters in the file name

If you’re downloading a file, and if the file name contain certain ‘bad’ characters, DC++ will replace the character(s) with an underscore (‘_’). Here are they:

 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30,
 31, '<', '>', '"','|', '?', '*', 0

Aswell, ‘/’ if DC++ is run on Win 32 (no Win 64 support I guess…), and ‘\’ if DC++ is run on another operating system.

You may wonder why the numbers 1, 2, 3 etcetera is in here. But they aren’t. All of the numbers are the ASCII number equivalent of characters. Have a look here for a list of them. Look in the ‘Dec’ column.

Update: I just noticed that I seem to have missed a character. This one is also included in ‘the bad character list’; ‘:’.
Strings that are also stripped are;

 "\\.\\", "\\..\\", "/./", "/../" and "\\". 

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: