Categories
Khmer Unicode

iText can render for Khmer Unicode

I just implement to put the render of Khmer Unicode in iText 5.5.4-SNAPSHOT and try, I could produce the PDF with the right display as following image. iText is a core pdf writer in most of the opensource library for outputting report or rendering text but unfortunately, it’s not working with Khmer Unicode as I…

Categories
Tools

Easy Way to Migrate CSS Bootstrap 2.x to 3.x, Font Awesome v3 to v4

The old web app uses CSS Bootstrap 2 and the new CSS Bootstrap 3 have a lot of things different, we need to aware: Get into the issue/concept: http://stackoverflow.com/questions/17974998/updating-bootstrap-to-version-3-what-do-i-have-to-do http://getbootstrap.com/migration/ My Working Tool There is already an existing tool written in Python (b2tob3) but for me, it’s working only for HTML (extension .html) files and…

Categories
Website

TinyMCE – Incorrect function. l.setActive [IE11]

If you meet an error with your TinyMCE as Incorrect function. setActive on IE11, it seemly, you are using one of an old version of TinyMCE in 2013, there are some places already raised the error in their old product such as: https://core.trac.wordpress.org/ticket/25281 https://github.com/tinymce/tinymce/commit/cd01160b037cab69c2f45866d9443e09851cf839 http://www.tinymce.com/develop/changelog/?type=tinymce That would explain the issue. So, please upgrade your TinyMCE…

Categories
Java Tools

Update Eclipse failed – Can not remove : eclipse.exe

Use Eclipse Update and got fail An error occurred while uninstalling session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, operand=[R]org.eclipse.rcp.configuration_root.win32.win32.x86_64 1.0.0.v20130521-1847 –> null, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CleanupzipAction). Backup of file D:\Apps\eclipse\eclipse.exe failed. Can not remove : D:\Apps\eclipse\eclipse.exe The issue links to permission on file system. According to the post here, two solutions raised but for me, only following solution, the best to…

Categories
Java

Verify Your Java/JDK 1.8 Environment

As developer, sometimes, you need to know quickly if your environment is ready for a JDK after switch or something. Here I take a basic way to check in general, I think most of new developer always want that so I take my Windows environment as example. You need to check your JRE and JAVA_HOME…

Categories
Java

It’s time to move to JDK 1.8

Early morning, I got this error [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project center-core: Compilation failure [ERROR] Failure executing javac, but could not parse the error: [ERROR] javac: invalid target release: 1.8 [ERROR] Usage: javac <options> <source files> [ERROR] use -help for a list of possible options [ERROR] -> [Help 1] Yeah, it’s…