From owner-freebsd-questions@FreeBSD.ORG Wed Mar 3 09:24:17 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F30D51065673 for ; Wed, 3 Mar 2010 09:24:17 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from mail-yw0-f204.google.com (mail-yw0-f204.google.com [209.85.211.204]) by mx1.freebsd.org (Postfix) with ESMTP id B3E4B8FC1B for ; Wed, 3 Mar 2010 09:24:17 +0000 (UTC) Received: by ywh42 with SMTP id 42so350972ywh.7 for ; Wed, 03 Mar 2010 01:24:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=aDTfaSXQAfM7ncK81xKAH6VDT4NmniY00dK3ZCMQWGE=; b=ZE8gidlhE+PxJWrUv1vmtIzQhkT8Ji7hZDP7hceBI/7aUNSmA60l6oAN9BN+H65uHM ufzCdSxWkWZ9fEo1/THL4SZsN+LvTTZpMn0uSH0hCDGuWsLISfGauLporYaRmRpAY1Qu tMiMRqSVGLMPi+y4bCVkoYkDiuzZgCn8ZnQdo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=pJIsBgHe+MjhCRuFCsdlblgGKsU9XxHqt6w+Glzq6q3Ljw+sZKoOyiC2/S/BtT67/H 1d9Qi8kSN/jzmFMQLPmoZu+tJHBnoYSg2J+uodIGQ2p/pbDd9LIUGaj+B45rQ5Y5zzht WUy5QJazuufKe1nWn6bapjwqw8zAvfDDZdH+I= MIME-Version: 1.0 Received: by 10.101.27.34 with SMTP id e34mr1561960anj.129.1267608249244; Wed, 03 Mar 2010 01:24:09 -0800 (PST) Date: Wed, 3 Mar 2010 11:24:09 +0200 Message-ID: From: Dan Naumov To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: locale settings and displaying file names in multiple languages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2010 09:24:18 -0000 Hello I have a 8.0/amd64 system serving a few Samba shares. Windows clients write files to some of these shares using multiple languages: english, finnish and russian. When accessed from any given Windows client, the file and directory names all look correct. However when accessing these same files locally, the file- and directory names that utilize russian and finnish languages are full of question marks, like this for russian: -rw-r--r-- 1 nobody nobody 11M Feb 21 2008 ???????????? ?????????? -rw-r--r-- 1 nobody nobody 9.2M Feb 21 2008 ??????????-?????????????????? -rw-r--r-- 1 nobody nobody 6.3M Feb 21 2008 ?????????????????? ????... -rw-r--r-- 1 nobody nobody 7.6M Feb 21 2008 ???????????????????????? ???????? -rw-r--r-- 1 nobody nobody 7.1M Feb 21 2008 ?????????????? ???????? -rw-r--r-- 1 nobody nobody 7.7M Feb 21 2008 ?????????????? and like this for finnish: drwxr-xr-x 2 nobody nobody 13 Mar 2 03:20 Turmion K??til??t - Hoitovirhe drwxr-xr-x 2 nobody nobody 7 Mar 2 03:20 Turmion K??til??t - Niuva 20 drwxr-xr-x 2 nobody nobody 13 Mar 2 03:20 Turmion K??til??t - Pirun Nyrkki drwxr-xr-x 2 nobody nobody 12 Mar 2 03:20 Turmion K??til??t - U.S.C.H.! And operating on these files locally is tricky to say the least: for example I cannot do a: cd "???????????? ??????????" for obvious reasons, because there is no directory that REALLY has all those question marks. However, I am still able to browse and operate on these files using Midnight Commander, somehow it actually works. How do I need to set the locale settings on the FreeBSD machine so that all file names are displayed correctly when operated on locally? - Sincerely, Dan Naumov