I'm developing an e-learning platform for slavistic languages and I wondered, whether there is a possibility to store UTF-8 encoded data to a database. I know I can do it with several databases using some of their special parameter, but I'd like a more independent solution. So I thought of writing an Interceptor which encodes / decodes (from UTF-8 into something or from something into UTF-8) all fields of type Text or String. when saving and loading. The problem is that I will have to encode all query strings. Does anybody know a better solution?
|