From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: A Soare Newsgroups: gmane.emacs.bugs Subject: Re: Yankee Doodle Dandy (La glorieuse parade) Date: Tue, 20 Feb 2007 01:58:16 +0100 (CET) Message-ID: <28561667.423711171933096809.JavaMail.www@wwinf4002> Reply-To: alinsoar@voila.fr NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1171933111 16929 80.91.229.12 (20 Feb 2007 00:58:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 20 Feb 2007 00:58:31 +0000 (UTC) Cc: "Emacs Bug \[bug-gnu-emacs\]" To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 20 01:58:25 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HJJKq-0003X3-VA for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Feb 2007 01:58:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HJJKq-0000DT-OH for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Feb 2007 19:58:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HJJKo-0000CU-Po for bug-gnu-emacs@gnu.org; Mon, 19 Feb 2007 19:58:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HJJKk-00009n-Tz for bug-gnu-emacs@gnu.org; Mon, 19 Feb 2007 19:58:22 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HJJKk-00009k-N6 for bug-gnu-emacs@gnu.org; Mon, 19 Feb 2007 19:58:18 -0500 Original-Received: from smtp1.voila.fr ([193.252.22.174]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HJJKj-0000Vo-Qv for bug-gnu-emacs@gnu.org; Mon, 19 Feb 2007 19:58:18 -0500 Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf4002.voila.fr (SMTP Server) with ESMTP id CE1E81C00243; Tue, 20 Feb 2007 01:58:16 +0100 (CET) Original-Received: from wwinf4002 (wwinf4002 [172.22.157.29]) by mwinf4002.voila.fr (SMTP Server) with ESMTP id C87FE1C002A3; Tue, 20 Feb 2007 01:58:16 +0100 (CET) X-ME-UUID: 20070220005816821.C87FE1C002A3@mwinf4002.voila.fr X-Originating-IP: [86.107.96.49] X-Wum-Nature: EMAIL-NATURE X-WUM-FROM: |~| X-WUM-TO: |~| X-WUM-CC: |~| X-WUM-REPLYTO: |~| X-detected-kernel: Linux 2.4-2.6 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:15600 Archived-At: Yes, sorry - indeed - using encoding systems it works very nice EMACS. I di= d not know what encoding systems are useful for so far. I knew just about query-replace - and it did not work at all on such a file= if the coding system is that auto-detected. Alin Soare > Message du 20/02/07 =C3=A0 01h19 > De : "Andreas Schwab" > A : alinsoar@voila.fr > Copie =C3=A0 : "Emacs Bug [bug-gnu-emacs]" > Objet : Re: Yankee Doodle Dandy (La glorieuse parade) >=20 > A Soare writes: >=20 > > I saw a few days ago a film (Yankee Doodle Dandy). > > > > As usual, I copied its translation from a site. ( I attached here Yanke= e-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. >=20 > I don't see anything wrong with this file, it is just encoded in UTF-16, > and Emacs correctly decodes it. >=20 > > Bref: Just try to use EMACS (id est to use query-replace) to take out t= he zeros. Every combination that you try fails. (unibyte, hexl mode, etc) >=20 > Just saving the file as UTF-8 should give you something that Xine can gro= k > in your environment. >=20 > > Is it normal that EMACS is completely unusable for such an easy task? >=20 > On the contrary, Emacs can handle that much better than many other > editors. Especially it can automatically detect many encodings. >=20 > Andreas. >=20 > --=20 > Andreas Schwab, SuSE Labs, schwab@suse.de > SuSE Linux Products GmbH, Maxfeldstra=C3=9Fe 5, 90409 N=C3=BCrnberg, Germ= any > PGP key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED= 5 > "And now for something completely different." >=20 >