From owner-freebsd-ports-bugs@freebsd.org Tue Jan 30 01:56:54 2018 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4B080ECB835 for ; Tue, 30 Jan 2018 01:56:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DD64A73DF7 for ; Tue, 30 Jan 2018 01:56:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 19FA61704E for ; Tue, 30 Jan 2018 01:56:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0U1uqp2018886 for ; Tue, 30 Jan 2018 01:56:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0U1uq66018885 for freebsd-ports-bugs@FreeBSD.org; Tue, 30 Jan 2018 01:56:52 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 225055] audio/mp3splt: the default encoding for ID3v2 tags should be UTF-16BE, not UTF-16LE Date: Tue, 30 Jan 2018 01:56:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: citrin+pr@citrin.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2018 01:56:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225055 --- Comment #3 from Anton Yuzhaninov --- I've looked at my mp3 file written by mp3splt in hd(1) - unfortunately I haven't found a more usable tool which can show all relevant information. In a hex dump I can see: 1. mp3splt writes ID3 V2.4.0 tags 2. text frames contain encoding description byte $01 (UTF-16 with BOM) foll= owed by BOM $feff (big endian) and then followed by text encoded in UTF-16 BE. So as I can see this ID3 tag confirms ID3 specification. Only issue I can s= ee - mp3splt always writes TIT2, TPE1, TALB, TCON frames in UTF-16 encoding, even when the text can be represented as ISO-8859-1 or even ASCII. Probably your hardware player doesn't support UTF-16/UCS-2 and expects all strings to be in ISO-8859-1. For better compatibility with incomplete player implementations we can chec= k if text can be encoded as ISO-8859-1 and use $00 text description byte (ISO-8859-1) with text in ISO-8859-1. But I'm not sure where it is better to implement this auto-detection: in mp3splt or in libid3tag (library used by mp3splt for writing tags). Unfortunately libid3tag is also not actively developed - last release was in 2004. I think -C 8 (utf-8) works for this player only by accident - ASCII text in UTF-8 and ISO-8859-1 are the same sequence of bytes. Changing default optio= n to -C 8 is a bad option - there are implementations (players) which support UT= F-16 (present V2.2.0), but not UTF-8 (was added only in V2.4.0). --=20 You are receiving this mail because: You are the assignee for the bug.=