Nicolas Nobelis

Show:

What's happening?

  • Followup: RE: TextMimeDetector and Western encoding

    Hello again ! I've found a problem with the TextMimeDetector. I have a tar.gz file : file porrasturvat-1.0.3.tar.gz porrasturvat-1.0.3.tar.gz: gzip compressed data, from Unix, last modified: Thu Aug 25 19:10:35 2005 However the TextMimeDetector recognize it as text/plain;charset=ISO-8859-15 (I'm using the same encoding list as above). Maybe it's an unavoidable collision... Shall I send...

    2009-07-27 12:40:08 UTC in Mime Type Detection Utility

  • Followup: RE: TextMimeDetector and Western encoding

    Hello Steven, I tested 2.1.2 on my test data and everything is working fine :) Thanks you very much for your support ! Be assured that if I find any news bugs or problems, I will notify you. As a side note, I'm testing today mime detection with Japanese encoded files (Shift-JIS). I have two files : one in SJIS, the other in ja_JP.utf8. By trial and error, I found that the right...

    2009-07-27 09:31:18 UTC in Mime Type Detection Utility

  • TextMimeDetector and Western encoding

    Greetings, I want to test the new TextMimeDetector that come with mime-util 2.0. Hence I took an ASCII file. I put a umlaut inside and save it as UTF-8. Then I converted the latter with iconv to ISO-8859. The 'file' Linux command give me : /tmp/western: text/plain charset=iso-8859-1 /tmp/unicode: text/plain charset=utf-8 Then with Java 5 and Mimeutil 2.1 I do : String[] encodings...

    2009-07-06 10:02:03 UTC in Mime Type Detection Utility

  • Followup: RE: Mime detection of unicode files

    Hi Steve, I tried today to load the big magic file with, as you suggested me : MimeUtil.removeMimeDetector(MimeUtil.getMimeDetector("eu.medsea.mimeutil.detector.MagicMimeMimeDetector")); MimeUtil.removeMimeDetector(MimeUtil.getMimeDetector("eu.medsea.mimeutil.detector.ExtensionMimeDetector")); new...

    2009-04-30 14:04:59 UTC in Mime Type Detection Utility

  • Followup: RE: Mime detection of unicode files

    Hello, Thanks for your answer. I'm looking forward for Mimeutils V2 ! Regarding the debian magic file, you can download it here : http://packages.ubuntu.com/jaunty/libmagic1 I can also send it to you by mail if you want. Feel free to ask. Best regards Nicolas.

    2009-04-27 07:52:11 UTC in Mime Type Detection Utility

  • Mime detection of unicode files

    Greetings ! I am using mime-util-1.3.1 on various Unix systems, and I have two questions : 1/ When I run mime-util over a unicode file without extension (containing some german text for instance), its mime type is application/octet-stream. However the 'file' command guess the mimetype right : $ file blabla blabla: UTF-8 Unicode text, with CRLF line terminators Is there a way to...

    2009-03-25 12:36:54 UTC in Mime Type Detection Utility

About Me

  • 2009-02-22 (9 months ago)
  • 2412032
  • nobelis (My Site)
  • Nicolas Nobelis

Send me a message