WPCubed Product Support

Problem with accentuation of the text

Hi!

I'm having problems using accentuation and save with the method SaveToStream. I need to use accents because I use the language is Portuguese, and accents are very frequent in any word.

What happens is I type the word pronounced, except when I open again and the text that I saved in the blob in the database through WpTools, words do not come accentuated, they are strange characters, as if the source not bear the accent. However, I use the Courier New, and she accepts accent.

Please help me!

Thanks.

Karen.

#1 ♥ 0
8.1k Views 3 users read 2 min
support

Hi,

please try to save the text to a file. Using the saved file it is possible to determine where the accent is gone. Maybe the database trucated the 8th bit.

Julian

#3 ♥ 0

Hi Julian,

The accent is lost when using the tab of the component. Inexplicably, the font changes to another that doesn't support special characters. For example, I am using the Courier New, and use tab, right after the tab change the font to Courier New Baltic, which doesn't support special characters. But on screen, WpTools doesn't show me the difference, and I still can insert special characters. Only after I save and load the text again, everything is without accent.

I sent a screenshot by e-mail to visualize the problem.

Is there any way to prevent the component show me fonts that doesn't support special characters? Seriously, they are only in my way.

Thank you.

Karen.

#4 ♥ 0
support

Hi,

If pressing "Tab" changes the font, are You sure there is no event handler which does the switch.

Please try this in a simple demo which uses just a TWPRichText and nothing else.

Julian

#5 ♥ 0

Hi,

There is no event handler which does the switch. I am using only the native components WpTools in these events (font and tab) and not created manually none of these events.

Is there any way to prevent the component shows me fonts that doesn't support special characters? I don't need the font "Courier Baltic", for example. It is useless for me, in my language.

Karen.

#6 ♥ 0

Karen eu uso wptools tambem, me adiciona no msn ai podemos trocar ideias em relação a ele fhpnascimento at gmail.com

#7 ♥ 0
This category is archived. No new posts are possible.