From owner-freebsd-questions@FreeBSD.ORG Sun Aug 31 20:40:20 2008 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 3C5AC1065670 for ; Sun, 31 Aug 2008 20:40:20 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by mx1.freebsd.org (Postfix) with ESMTP id 116588FC1E for ; Sun, 31 Aug 2008 20:40:19 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 2883415C133; Sun, 31 Aug 2008 16:40:19 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Sun, 31 Aug 2008 16:40:19 -0400 X-Sasl-enc: mL5m22m/D5TwKvwPLUpgUnmO/lghYQ/CAUD960paa2xJ 1220215218 Received: from hagrid.ewd.goldmark.org (n114.ewd.goldmark.org [72.64.118.114]) by mail.messagingengine.com (Postfix) with ESMTPSA id BE54427254; Sun, 31 Aug 2008 16:40:18 -0400 (EDT) Message-Id: <4CEC06F3-4700-4774-B56E-F8104AA1442C@goldmark.org> From: Jeffrey Goldberg To: faja606@aol.com In-Reply-To: <8CAD8977E70BB7D-1770-2988@webmail-me08.sysops.aol.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v928.1) Date: Sun, 31 Aug 2008 15:40:17 -0500 References: <8CAD8977E70BB7D-1770-2988@webmail-me08.sysops.aol.com> X-Mailer: Apple Mail (2.928.1) Cc: freebsd-questions@FreeBSD.org Subject: Re: Complex text layout 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: Sun, 31 Aug 2008 20:40:20 -0000 On Aug 30, 2008, at 4:11 AM, faja606@aol.com wrote: > I am trying to get my website to support multilanguage fonts, > complex text layouts. An example of what I am trying is to have the > fonts of other languages appear rather than boxes or question marks. This is purely an HTML/web-design question, and has nothing really to do with FreeBSD even if your webserver is a FreeBSD system. You should look at the LANG and DIR attributes. Also, you should set up your pages do use UTF-8 as a character set. To instruct your server to declare that documents are UTF-8 by default, you can set AddDefaultCharset utf-8 in your Apache configuration. AddDefaultCharset is document at http://httpd.apache.org/docs/2.0/mod/core.html#adddefaultcharset If you don't have access to the Apache configuration, you can declare the charset to use within each document in the HTML, with something like within the HEAD portion of the document. The LANG and DIR attributes are documented at http://htmlhelp.com/reference/html40/attrs.html#lang though that is more of a reference document than a "how to". Cheers, -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/