Aurigma Forums
»
Upload Suite
»
FAQ – ActiveX/Java Uploader
»
INFO: Uploaded Images with Non-ASCII Characters in Names Cannot Be Viewed
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
OverviewWhen Image Uploader is used to upload images with non-ASCII characters in file names to the server running under IIS 5, under certain conditions the user will not be able to view those images after upload. ReasonThis happens when non-ASCII characters does not conform to a default locale used on the server. IIS 5 uses a default locale to decode a query string with non-ASCII characters, and that's why if the default server locale differs from the user's locale, some characters may not be found. Therefore the file name of the uploaded becomes incorrect. SolutionThere are two ways to handle this situation. - If you experience this problem, and you are sure that all your users use the same locale, change the default server locale. To do that go to Start -> Control Panel -> Regional and Language Options -> Advanced tab, and in the Language for non-Unicode programs box select the required locale from the drop-down list. After that you need to reboot the server.
- If there is no guarantee that all users will use the same locale, you will have to process the names of the uploaded files in the upload script before saving them to disk and remove 'non-standard' characters from the file names.
NotesThis problem does not concern IIS 6. |
Best regards, Fedor Skvortsov
|
|
|
|
Aurigma Forums
»
Upload Suite
»
FAQ – ActiveX/Java Uploader
»
INFO: Uploaded Images with Non-ASCII Characters in Names Cannot Be Viewed
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.