From: Edward H Trager (email@example.com)
Date: Thu Sep 19 2002 - 14:07:15 EDT
One more thing:
If you compile PHP with GD and FreeType2 support, you can generate .png
graphics with nicely antialiased text in many scripts on the fly. Just
feed UTF-8 strings directly to the ImageFTText() function. Take a look at
my test script at php.net under the ImageFTText() documentation
(http://www.php.net/manual/en/function.imagefttext.php) to see what you
can (and can't) do.
Of course this technique is useful for displaying non-latin scripts
without having to worry about whether your users are using a supported
browser and have the necessary fonts.
On Thu, 19 Sep 2002, Edward H Trager wrote:
> Hi, Roslyn,
> The tools you choose might to some extent depend on your development
> environment. Using PHP on GNU/Linux or another *NIX environment, the
> following tools will certainly get you started in the right direction.
> Plan on using UTF-8 encoding for everything: so you need to calculate
> database column widths that will be wide enough to support the UTF-8
> -- Yudit (www.yudit.org).
> This is a fantastic Unicode editor. It has keyboard maps for just
> about every language imaginable, has correct shaping for Arabic and
> a number of Indic scripts, and even some handwriting recognition for
> Kanji/Hanzi. Command-line tools are also provided for converting
> files in different encodings. Of course UTF-8 is supported.
> -- Latest version of Mozilla (www.mozilla.org). Mozilla provides very
> good support for rendering a lot of scripts and is very
> standards-compliant, maybe the most standards-compliant
> browser available.
> -- Edith (www.zfc.nl) is a possibly little-known editor for X11. It is
> *not* unicode aware at all, but it has lots of other indispensible features
> for coding and development, such as regex-based searching and
> replacement, column-wise cut-and-paste, etc.
> What I do is type all non-ASCII strings in Yudit and save the file, write
> the ASCII PHP code in Edith (substitute your favorite editor here), open
> up the UTF-8 Yudit file in another Edith window, and copy and paste in the
> UTF-8 strings (which look awful in a non-unicode-aware editor, but a
> good editor doesn't mess with them).
> On Thu, 19 Sep 2002, roslyn jose wrote:
> > hi,
> > im new to unicode, and am working on a project in php/postgresql. i need
> > some info on how to start off with unicode. i went thro the web site and
> > only saw explanations on what it is, its char set,etc. do i need to
> > download or install anything to work with unicode, pls let me know soon.
> > and also once downloaded do i need to import any classes or files when
> > working with it, as im scripting in php and html. thanx
> > regards,
> > roslyn
> > ---------------------------------
> > Do you Yahoo!?
> > New DSL Internet Access from SBC & Yahoo!
This archive was generated by hypermail 2.1.5 : Thu Sep 19 2002 - 14:50:58 EDT