manage encoding problem in searcheable text method