NetTalk Central

Author Topic: NT 12.42 Problems  (Read 6327 times)

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
NT 12.42 Problems
« on: July 07, 2022, 12:37:46 PM »
after update to 12.42 the NetWebForm not recognize the Spanish label characters, Contrase?a

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
Re: NT 12.42 Problems
« Reply #1 on: July 07, 2022, 12:59:10 PM »
I returned to 12.41 and worked.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NT 12.42 Problems
« Reply #2 on: July 07, 2022, 08:18:12 PM »
Tweak an example app to show the effect, and I can investigate here.

Cheers
Bruce

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
Re: NT 12.42 Problems
« Reply #3 on: July 08, 2022, 03:17:00 AM »
see attachment example

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NT 12.42 Problems
« Reply #4 on: July 08, 2022, 03:51:40 AM »
I think maybe you zipped the app while it was still open in the IDE (and unsaved).
Cause I don't see any changes that you have made in there...

also, do you need to include a TPS file?

cheers
Bruce

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: NT 12.42 Problems
« Reply #5 on: July 08, 2022, 04:40:50 AM »
Spanish works ok for me (Im on utf-8) but what I think is uncomfortable is the change of the Header and Footer selectors to "Advance"
In an existing app it appears blanked
I think it would be a good idea to move it to Defaults
Also move the Max Threads to Perfomance
And change the Advance tab name to Translations or Variety or... :-)
Regards
-----------
Regards
Alberto

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
Re: NT 12.42 Problems
« Reply #6 on: July 08, 2022, 04:49:59 AM »
Alberto work for me in 12.41 and below, see the attachment example with 12.42

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NT 12.42 Problems
« Reply #7 on: July 08, 2022, 07:45:11 AM »
please rezip, and repost your example Osa.
Also including instructions on where I must go to see the effect you  are seeing in 12.42

Cheers
Bruce

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
Re: NT 12.42 Problems
« Reply #8 on: July 08, 2022, 09:07:20 AM »
go to LoginForm and see the value of label of password is in spanish, but when run is not recognize spanish content in a prompt

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NT 12.42 Problems
« Reply #9 on: July 10, 2022, 09:28:34 PM »
Morning Osa,

So in this example you have charset set to 'utf-8' (which is good.)
You also have "Store Data As" set to utf-8, which is fine - storing data as utf-8 is mostly ok, as long as you understand the limitations of that.

However in your template prompt you have typed in;
'Contrase?a'

But this is ANSI encoded, not utf-8 encoded. So, since your store-as is set to utf-8, and the charset is utf-8, the Translate method does not convert the text at all. But since the text is actually ANSI, not utf-8, it does not display well.

Encodings and mappings can get complicated, but I'm assuming you've watched my webinars on the subject. The short version though is that if you choose utf-8 you need to stick to it. Same as for ANSI.

cheers
Bruce

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
Re: NT 12.42 Problems
« Reply #10 on: July 11, 2022, 03:17:16 AM »
but that change in this version? take a look of my page compile in 12.41 https://www.fecipur.org/LoginForm everything work ok, my Store Data as in this app is Spanish and don't have any hand code for this purpose, look example compile with 12.42 http://fecipur.org:8080/LoginForm

same app without no change only compile in different version, all run in same server

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NT 12.42 Problems
« Reply #11 on: July 11, 2022, 09:13:31 PM »

>> my Store Data as in this app is Spanish

In the example you sent it was utf-8. Perhaps you want to update the example to match your setup? Post that and I'll look again.

cheers
Bruce

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
Re: NT 12.42 Problems
« Reply #12 on: July 12, 2022, 01:33:25 AM »
attached example

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
Re: NT 12.42 Problems
« Reply #13 on: July 13, 2022, 04:20:00 AM »
i think that the problems is a Translate i put this code in both version for see the variant,  take a look at image

loc:prompt = p_web.Translate('Entre su Contrase?a:')
message(loc:prompt)

But I don't know how to correct this

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NT 12.42 Problems
« Reply #14 on: July 13, 2022, 06:53:20 AM »
Thanks for the example, I was able to duplicate in there. I'm guessing a 12.43 build will happen before the end of the week.