My Tuesday dancecard is filling up. The first mandarin course has ended and I’m now registered in the next chapter of Mandarin.
Beginning Chinese II
“This course is the second of a three-quarter sequence of beginning Mandarin Chinese. It is designed for students with little knowledge of Chinese. With an emphasis on conversation, the course will focus [...]
Just about the time I believe the UTF-8 beast is in the cage, it escapes and runs amok.
This AM, I started to deploy an update to the webapp on EC2. Seems that some of the static strings in the app contained UTF-8 encoded non-ascii characters. The java compiler barfed. “The heck?”, I thought. I [...]
I wanted to complement my bash directory crawler post with a bash array crawler example.
Sometimes, it’s easier to jack a list of identifying tokens into an array and process them rather than to build an end-to-end script with database access. For this contrived example, I grab a list of UUID from MySQL with a simple [...]
Once again, it’s the holidays; I’m not feeling very cheery.
I use Apache httpd + mod_jk with tomcat and connect to port 8009. Be sure to tell the tomcat connection that you are using UTF-8.
# vi /usr/local/tomcat/conf/server.xml
<Connector
port=”8009″
URIEncoding=”UTF-8″
enableLookups=”false”
redirectPort=”8443″
protocol=”AJP/1.3″ />
Add two parameters to the list of JAVA_OPTS (at least for tomcat)
-Djavax.servlet.request.encoding=UTF-8
-Dfile.encoding=UTF-8″
When I moved to wordpress, I purposely picked a theme with paged listings. Of course, I also started with the latest v. 2.7 release. (Actually 2.7 rc2, then an upgrade).
The paged navigation at the bottom of the content section did not work. I tried to install the wp-pagenavi plugin but wordpress complained that the anjing [...]