NetTalk Central

Author Topic: C72 NTWS5 PR18 error 2  (Read 2437 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1848
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
C72 NTWS5 PR18 error 2
« on: June 08, 2010, 11:51:57 AM »
Another error,
It is filtering all accent letters, like á, é, í, ó, ú, etc
Compiled with C71 PR14 you get "Análisis", with C72 PR18 you get "Anlisis"
Alberto
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11191
    • View Profile
Re: C72 NTWS5 PR18 error 2
« Reply #1 on: June 10, 2010, 10:52:19 PM »
Hi Alberto,

In a recent PR the support for foreign characters was much improved. However your page needs to be on 'utf-8' to make the most use of it.

See here for more information
http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=1393.0

Also - at the moment I've coded support for all the "Polish" characters when converting from UTF-8 to Charset and vice-versa. If you have more characters please let me know and I can work with you on adding your language(s) requirements.

Cheers
Bruce

Alberto

  • Hero Member
  • *****
  • Posts: 1848
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: C72 NTWS5 PR18 error 2
« Reply #2 on: June 11, 2010, 02:48:32 AM »
Bruce,
I´ve read the link but I dont understand it very well.
My web page writes and read data shared with a normal clarion app.
I had 'ISO-8859-1' intead of 'utf-8'.
I´ve change the code to 'utf-8' but now all my characters (spanish) get translated to extrange ones.
The problem is not only with the data but with the characters entered in the template, like the headers, etc. See attached image.
Is there any way to bypass this feature? it worked ok with previous vertions.
If you need the special spanish character are:
áéíóúñÁÉÍÓÚÑ
But entering a "Last name" may be needed more characters like ùàòìèùçÇäëïöü
Alberto


[attachment deleted by admin]
« Last Edit: June 11, 2010, 03:43:24 AM by michelis »
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11191
    • View Profile
Re: C72 NTWS5 PR18 error 2
« Reply #3 on: June 13, 2010, 11:07:23 PM »
Hi Alberto,

The utf-8 approach will be better for you in the long run - and I've added support for the Spanish characters you mentioned to PR20. A new equate
net:StoreAsSpanish
has also been added.

That said, if your site was set to 'ISO-8859-1' it should have updated without a hassle - so it looks like there's a bug there somewhere. To debug what I need is a Clarion data file with some spanish characters in it. Putting some spanish names into example number 1, and sending me the TPS would be perfect.
Feel free to tweak the example app as well so there's some spanish in a heading, or button name, etc.

Then I can see where the mapping is going wrong.
Thanks
Cheers
Bruce


Alberto

  • Hero Member
  • *****
  • Posts: 1848
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: C72 NTWS5 PR18 error 2
« Reply #4 on: June 14, 2010, 02:02:46 AM »
Hi Bruce,

Attached goes the web1 example, app (C72) and Maiboxe.tps.
I´ve added
-"'Spanish charactters between brackets (áéíóú)'" as the mailboxes browse header.
-Try to add (áéíúó) to the Albert mailbox but the form delete those chars when you press save
-Open the mailboxe.tps and add manualli (áéíóú) to the Bruce Record.

Hope this helps
Alberto

[attachment deleted by admin]
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11191
    • View Profile
Re: C72 NTWS5 PR18 error 2
« Reply #5 on: June 15, 2010, 12:16:58 AM »
I need the dict as per my other post.

Alberto

  • Hero Member
  • *****
  • Posts: 1848
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: C72 NTWS5 PR18 error 2
« Reply #6 on: June 15, 2010, 01:54:55 AM »
Bruce,
Understood...
Attached again.

[attachment deleted by admin]
« Last Edit: June 15, 2010, 02:35:44 AM by michelis »
-----------
Regards
Alberto