NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: osquiabro on July 07, 2022, 12:37:46 PM
-
after update to 12.42 the NetWebForm not recognize the Spanish label characters, Contrase?a
-
I returned to 12.41 and worked.
-
Tweak an example app to show the effect, and I can investigate here.
Cheers
Bruce
-
see attachment example
-
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
-
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
-
Alberto work for me in 12.41 and below, see the attachment example with 12.42
-
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
-
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
-
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
-
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
-
>> 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
-
attached example
-
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
-
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.
-
12.43 is up