From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Konrad Makowski Newsgroups: gmane.lisp.guile.user Subject: Re: iconv or something like that Date: Sat, 25 Oct 2014 22:25:26 +0200 Message-ID: <544C0736.4030103@konradmakowski.pl> References: <5448E72A.6030307@konradmakowski.pl> <87oat27jk0.fsf@yeeloong.lan> <544B4B4A.8090801@konradmakowski.pl> <544B5E42.10107@konradmakowski.pl> <87bnp00yqh.fsf@zigzag.favinet> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1414268764 31263 80.91.229.3 (25 Oct 2014 20:26:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Oct 2014 20:26:04 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Oct 25 22:25:57 2014 Return-path: Envelope-to: guile-user@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 1Xi7uO-0005Jy-23 for guile-user@m.gmane.org; Sat, 25 Oct 2014 22:25:56 +0200 Original-Received: from localhost ([::1]:54561 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xi7uN-0000T0-Jd for guile-user@m.gmane.org; Sat, 25 Oct 2014 16:25:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35425) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xi7uA-0000S6-EP for guile-user@gnu.org; Sat, 25 Oct 2014 16:25:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xi7u0-0003Rk-SW for guile-user@gnu.org; Sat, 25 Oct 2014 16:25:42 -0400 Original-Received: from mail.mydevil.net ([212.91.26.138]:61344) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xi7u0-0003Qj-M2 for guile-user@gnu.org; Sat, 25 Oct 2014 16:25:32 -0400 Original-Received: from afln59.neoplus.adsl.tpnet.pl ([178.42.39.59] helo=[192.168.1.22]) by mail.mydevil.net with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.80.1) (envelope-from ) id 1Xi7qd-000ILk-P9 for guile-user@gnu.org; Sat, 25 Oct 2014 22:22:04 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 In-Reply-To: <87bnp00yqh.fsf@zigzag.favinet> X-AV-Check: Passed X-System-Sender: poczta@konradmakowski.pl X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.91.26.138 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:11597 Archived-At: I know what you mean, but this is silly mistake. I use my procedure (define (iconv str from to) (bytevector->string (string->bytevector str from) to)) and try to convert charset of string. After that i figure out that mysql can convert charset with "SET NAMES UTF-8". Error occur because i not disable this wrong procedure from code. Konrad W dniu 25.10.2014 o 20:51, Thien-Thi Nguyen pisze: > () Konrad Makowski > () Sat, 25 Oct 2014 10:24:34 +0200 > > O problem resolved and was not related to > mysql or locale but my mistake. > > If you explain the mistake now, maybe it will be harder > for others (and perhaps yourself) to make it, later. >