NetTalk Central

Author Topic: Nettalk support of tamil characters  (Read 2683 times)

ntnewbies

  • Full Member
  • ***
  • Posts: 169
    • View Profile
    • Email
Nettalk support of tamil characters
« on: May 25, 2018, 12:12:22 AM »
Hi bruce,

I have a form with a text field.

If i type the following:

yes   ஆமா

it works. but after i press save, the character becomes haywire. how do i solve it?

the web server setting is utf-8 by default.

the database is mixed of chinese characters, english characters as well as tamil characters

jason

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11183
    • View Profile
Re: Nettalk support of tamil characters
« Reply #1 on: May 25, 2018, 04:10:45 AM »
Hi Jason,

welcome to unicode <g>.

Ok, so the web server itself has the "charset" set to utf-8, so that's good.
You don't say though what your "store-as" setting is set to.
In this case I think you will want that to be unicode as well BUT that introduces some severe limitations on the Clarion side.

Clarion 10 (and earlier) can't do anything with unicode. So that means no unicode on screens, and none on reports.
Also you need to use STRING fields not CSTRING fields if the string might hold utf-8 or utf-16.

So you can set NetTalk to store are utf-8, which means you can mix english, chinese and tamil all in the same string. This will be fine on web pages (for entry, and display) BUT no reports are possible (because Clarion reports can't work with unicode, yet.)

Given that you need to mix all the character sets together you don't have too many choices - I'm afraid you need to change the store-as to utf-8 and give up on reports for now.

cheers
Bruce