From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marcelo de Moraes Serpa Newsgroups: gmane.emacs.help Subject: Re: Encoding error when calling a ruby script from Emacs using shell-command Date: Thu, 30 Aug 2012 18:01:39 -0500 Message-ID: References: <15C37C1E-38F8-4430-A7D1-24DAEE219161@Web.DE> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=14dae934106b79f30204c883a822 X-Trace: ger.gmane.org 1346367711 24128 80.91.229.3 (30 Aug 2012 23:01:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Aug 2012 23:01:51 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 31 01:01:53 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T7DkE-0000FG-G6 for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Aug 2012 01:01:50 +0200 Original-Received: from localhost ([::1]:42609 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7DkB-0004uI-Ot for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Aug 2012 19:01:47 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46019) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7Dk5-0004uD-Kc for help-gnu-emacs@gnu.org; Thu, 30 Aug 2012 19:01:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T7Dk4-0003tC-Hg for help-gnu-emacs@gnu.org; Thu, 30 Aug 2012 19:01:41 -0400 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:46146) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7Dk4-0003t2-D3 for help-gnu-emacs@gnu.org; Thu, 30 Aug 2012 19:01:40 -0400 Original-Received: by iagk10 with SMTP id k10so4624380iag.0 for ; Thu, 30 Aug 2012 16:01:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=sWdKXLUPCcMttBM0axaxp05WwBQpIJAH8xzb9qbuOK4=; b=ZeEdneB/a7Mkk7EPB/nMZPefvlVoLgtg/NNtElSzhxCB4k8dLf1yBtrH2lYQ48cINY l5LtZIjlkF7ZZl2GBnYOZXzTNETKV8OddWZjc4+hSaDM1OeLFzsyIglfly2orlASWHmb 4shVgOucHU2rlP3pcc6+x1hb/T0sRKhbSa5Jah0Nar+QyR5JzNzo6bzYYZjbO+FqlU5p 16/zPTE/eqhl9OJXyuKTV9hna6HZKqJg+o4uC825B6El0opqq5rkbOa5LWaM6V4ienws vhM38sq6kzaZFNOS4gYrDOmz2nnqOaz5UEKrMo9Wc5hD4GD6jMFd33wWSQb/97+H6053 qoWQ== Original-Received: by 10.50.196.161 with SMTP id in1mr46992igc.47.1346367699677; Thu, 30 Aug 2012 16:01:39 -0700 (PDT) Original-Received: by 10.64.17.74 with HTTP; Thu, 30 Aug 2012 16:01:39 -0700 (PDT) In-Reply-To: <15C37C1E-38F8-4430-A7D1-24DAEE219161@Web.DE> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.210.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86601 Archived-At: --14dae934106b79f30204c883a822 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi Peter, Thanks for the reply. I've changed the func argument to 'utf-8-unix and it did not make a difference. Same error. - Marcelo. On Thu, Aug 30, 2012 at 4:16 PM, Peter Dyballa wrote= : > > Am 30.08.2012 um 19:41 schrieb Marcelo de Moraes Serpa: > > > By the way, I forgot to say that I have added the "(let > > (universal-coding-system-argument 'us-ascii-mac))" in an attempt to fix > it, > > but it made no difference whatsoever. > > Have you tried an UTF encoding? I think Ruby isn't as primitive as > US-ASCII=85 > > -- > Greetings > > Pete > > We are usually convinced more easily by reasons we have found ourselves > than by those which have occurred to others. > =96 Blaise Pascal > > --14dae934106b79f30204c883a822 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi Peter,

Thanks for the reply.

I've changed the func argument to 'utf-8-unix and it did not make = a difference. Same error.

--14dae934106b79f30204c883a822--