Archive for September, 2006
How to display tamil text with java5 (applets and java swing based applications)
Java 1.3+ should display tamil without altering anything. but jre is
not configured for tamil officially till now. (Devanagari is added).
So you will see only boxes in applets or any other swing applications.
here is the procedure to see tamil characters.
It is considered you have Latha font installed.
Open java directory then go into ‘jre’ directory. Copy-Paste the
“fontconfig.properties.src” file, and rename it as
“fontconfig.properties”.This file then should be the one Java will use
by default. now open the “fontconfig.properties” file.
Find this line :
# Component Font Mappings
Then add :
allfonts.tamil=Latha
You must then find
sequence.allfonts=alphabetic
and add tamil: (am not sure, whether it is really to be done. it
worked without this entry)
sequence.allfonts=alphabetic
add the line
sequence.allfonts.UTF-8.ta
restart if you are using any java applications. and restart the
browser (deleting temporary files may help if it dint reflect)
post a message, if anything dint work as expected.
-p.
Specify a Maximum Cost for a Query in SQL Server 7
Ever had a user accidentally create a query that resulted in a
Cartesian product of your two largest tables? Of course, a badly
written query uses up precious CPU and I/O cycles and therefore slows
everyone down. With the advent of SQL Server 7, you can specify a
maximum cost for a query. You can do this in two ways. First, set a
maximum cost for all queries on your server by setting the
configuration option “query governor cost limit” to the maximum number
of seconds allowed for a query. (For those of you not familiar with
the sp_configure command, this can be done through Enterprise Manager
by right clicking on a Server, choosing Properties, clicking the
Server setting tab, and choosing the “Use query governor…” check box
and entering a non-zero number in the box.) For a specific connection,
use “SET QUERY_GOVERNOR_COST_LIMIT value”.
—————————————————–
*Free* software is a matter of liberty not price. You should think of
“free” as in “free speech”.

