all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: alinsoar@voila.fr
Cc: "Emacs Bug \[bug-gnu-emacs\]" <bug-gnu-emacs@gnu.org>
Subject: Re: Yankee Doodle Dandy (La glorieuse parade)
Date: Tue, 20 Feb 2007 01:19:11 +0100	[thread overview]
Message-ID: <jeps85isu8.fsf@sykes.suse.de> (raw)
In-Reply-To: <30233926.325631171929753770.JavaMail.www@wwinf4005> (A. Soare's message of "Tue, 20 Feb 2007 01:02:33 +0100 (CET)")

A Soare <alinsoar@voila.fr> writes:

> I saw a few days ago a film (Yankee Doodle Dandy).
>
> As usual, I copied its translation from a site. ( I attached here Yankee-Doodle-Dandy.srt from http://davidbillemont5.free.fr).
>
> I started XINE and I saw that no text appeared on the screen.
>
> I tried to use emacs to see what is wrong.
>
> I do not give here details. Yankee-Doodle-Dandy.srt contains many ZEROS (0), that are unreadable caracters.

I don't see anything wrong with this file, it is just encoded in UTF-16,
and Emacs correctly decodes it.

> Bref: Just try to use EMACS (id est to use query-replace) to take out the zeros. Every combination that you try fails. (unibyte, hexl mode, etc)

Just saving the file as UTF-8 should give you something that Xine can grok
in your environment.

> Is it normal that EMACS is completely unusable for such an easy task?

On the contrary, Emacs can handle that much better than many other
editors.  Especially it can automatically detect many encodings.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

  reply	other threads:[~2007-02-20  0:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-20  0:02 Yankee Doodle Dandy (La glorieuse parade) A Soare
2007-02-20  0:19 ` Andreas Schwab [this message]
2007-02-22 11:07 ` Michaël Cadilhac
  -- strict thread matches above, loose matches on Subject: below --
2007-02-20  0:58 A Soare
2007-02-22 12:41 A Soare
2007-02-23 10:50 A Soare

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jeps85isu8.fsf@sykes.suse.de \
    --to=schwab@suse.de \
    --cc=alinsoar@voila.fr \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.