Skip to main content Help Control Panel

Login   A+   A-

YACS «   Releases «  

Dec-4th, Unicode support, blogging templates, and more

YACS is now able to preserve UTF-8 entities, even if PHP and MySQL (version 3) only support ISO-8859-1. To achieve this, YACS translates extended characters into Unicode HTML entities. For example, the euro character € (UTF-8 bytes \xE2\x82\xAC) is translated into the HTML entity €.

Once again, this simple mechanism is enough to preserve UTF-8 entities, and therefore to make Stefanos, who uses greek characters, happy When both PHP and MySQL will actually support UTF-8 natively, we will change YACS to streamline the whole thing...
About 160 files have been modified or added to this release.

-  As expected the generalized support of Unicode has induced a major reworking of YACS. Fortunately most important changes have been limited to shared/global.php thanks to the modular structure of the code. Functions utf8_to_unicode() and utf8_from_unicode() are doing the job. The yacs_handler() has been modified to take this into account at all pages.

-  The RFC822 states that file names can have only US-ASCII characters, but now we have Unicode... Therefore a new function utf8_to_ascii() has been created in shared/global.php to do that, and to implement enhanced transcoding from cp1252 (a very common legacy charset from Microsoft) as well. It is called from all scripts that have something to download: articles/export.php, articles/fetch_as_msword.php, articles/fetch_as_pdf.php, articles/fetch_for_palm.php, files/edit.php, files/fetch.php, files/fetch_all.php, images/edit.php, tables/fetch_as_csv.php, tables/fetch_as_xml.php, users/fetch_vcard.php.

-  To support Unicode into form fields (<input> and <textarea>) we have created a new function encode_field() to be used instead of htmlspecialchars(). Many scripts have been changed because of that.

-  Unicode support has been introduced to the Flash-based object displayed at the home page. See feeds/flash/slashdot.php.

-  The script that turns Blogging templates into skins has been enhanced to better handle complex input files. See skins/import.php

-  YACS better supports language selection from Firefox and similar browsers. Therefore the bug signaled by Pierre has been fixed. See shared/global.php

-  Flags have been changed and expanded. To reward Stefanos for his suggestion to support Greek, YACS now translates [gr] to . We also have and . All supported flags are listed at this help page on YACS codes and more will be added in the future.

-  If you have a centralized reference server at your company, the link to (re)build the repository has been shifted to the end of the page menu at scripts/index.php. The first link is now the one used to update a server against a reference.

-  For the blogging by email YACS now looks also for simple headers, not only for XML-like headers. More information on this at How to post by e-mail?. See agents/messages.php

-  Publication mechanisms have been enhanced. Only public pages are now pinged (see articles/publish.php and services/blog.php). On the other hand, messages submitted by e-mail are now archived correctly (agents/messages.php).

-  Also, the URL submitted to weblogUpdates.ping has been fixed into servers/ping.php

-  The link used to install the side panel blogging form has been corrected into control/index.php. We now have to enhance the form itself to make it work as expected...

-  Tabbed templates now support 7 tabs instead of 5. See skins/boxesandarrows/template.php, skins/entrecousins/template.php, skins/nypl/template.php, skins/skeleton/template.php, skins/slashdot/template.php, skins/yetanothercommunitysystem/template.php.

-  YACS support to APOP has been enhanced. Actually, authentication POP has been explicitly deactivated for proxy e-mail servers. See agents/messages.php

-  The rendering engine Codes::beautify() has now an additional parameter to support run-time variants. See codes/codes.php. We still have to link this to options for articles and for other modules as well.

-  YACS now checks that referrals are actually accessible before remembering them. See agents/referrals.php.

-  Link::fetch() now actually does what it is supposed to do... See links/link.php

-  A minor bug has been fixed in categories/categories.php to avoid intermixing of links in successive tables of content pushed at the home page.

-  The rendering engine now uses the nick name for a user profile (eg, [user=xyz]) if there is no full name. Also, basic links are now used in tables of content. See codes/codes.php

-  Syntax bug corrected at services/ping.php

-  Minor corrections added as well. French labels have been fixed in setup.php.

Comments

Skara on Dec. 6 2004
Thank u very much 4 supporting! its very nice to see all these efforts as a final super-duper result! Keep up the good work my friend... im here to support u as more i can

skara

Rate this page
Posted by Bernard on Dec. 6 2004, commented by Skara on Dec. 6 2004, (popular)