Form and database charset encoding
Before running the database examples, you should run SQLPLUS on your database
and create this table:
create table utf8_test (id integer, bits varchar(4000), bigbits clob);
- regression-test.tcl
Some simple sanity checks that proper conversions are being performed
- form-1-db.tcl
A test of form data submission in Shift-JIS, with the data inserted
into an database table VARCHAR column.
- form-1-clob.tcl
A test of form data submission in Shift-JIS, with the data inserted
into an database table CLOB column.
- form-1-new.tcl
Test simple submit of Shift-JIS data.
- form-1-old.tcl
Test simple submit of Shift-JIS data (using older ns_write API)
- japanese.adp
An ADP (template) file which is authored in Shift-JIS encoding. If the
charset types are set correctly and the request processor is patched
to do the correct charset encoding translation at file load time,
then this will appear properly in Shift-JIS output. Otherwise it will
be trashed.
- j4.adp
Example of using Tcl conversion code to input EUC strings
into adp code.
- japan-date.tcl
Display the current date in Japanese Imperial date format
- ISO 8859-1 regexp/regsub test