Ticket #322 (closed defect: duplicate)

Opened 11 years ago

Last modified 11 years ago

Dragging and dropping files with weird characters into GLI

Reported by: ak19 Owned by: ak19
Priority: high Milestone: Next Release (2 or 3)
Component: Collection Building Severity: major
Keywords: GLI, drag-and-drop, filenames, encoding Cc:


GLI. On Linux in any case, maybe on Windows too. Need to test that still.

When trying to drag and drop files - administration des biblioth�ques.doc - Biblioth�ques face aux pressions.pdf into GLI, it doesn't succeed. The weird characters actually should look like French characters but aren't. They are not UTF8 encoded. The file names are not acceptable. However, on Katherine Don's suggestion, I tried copying them manually into the import folder. I refreshed the view in GLI and they had sensible names now and the collection could be built and I viewed the contents. All that worked fine.

Thus far, the problem then is with GLI's dragging and dropping mechanism not being able to cope with these filenames, since the Perl code is able to handle them.

I still have to test whether images given these names will work as well (and also put them in an image collection). And try html pages of these names that have relative links to each other.

Suggestion: What if GLI were to UTF8 encode filenames when copying them over upon drag-and-drop. Katherine said that import (when used stand-alone) would then still have to deal with non-UTF8 encoded filenames. Therefore, what if both GLI and import were to ensure UTF8 filenames and perhaps that would mean that thereafter Greenstone could stop worrying about filenames altogether?

However, what if I had two files of the same names but different encodings?

Change History

Changed 11 years ago by davidb

  • owner changed from nobody to ak19

Changed 11 years ago by ak19

The last 3 paragraphs above have been considered, dealt with or fixed in one way or another.

The first 3 paragraphs have been moved into a new ticket which includes a description of a possible solution.

Changed 11 years ago by ak19

  • status changed from new to closed
  • resolution set to duplicate
Note: See TracTickets for help on using tickets.