![]() |
International character problem
Working with HTML5 Builder
Have a database connected to NexusDB have a textfield that in enterpricemanager says ÅÄÖ when getting the same field with a Query it shows like ÅÄÖ What to do |
Re: International character problem
Micael,
Try to use WideString field type instead of Shortstring. Regards, Alex On 6/24/2013 6:54 PM, Micael wrote: > Working with HTML5 Builder > Have a database connected to NexusDB > have a textfield that in enterpricemanager says едж > when getting the same field with a Query it shows like Ñ*┘Ñ*â””Ñ*√ > > What to do > > |
Changed to Widestring but still the same problem.
I also made a little testprogram with the same codebase where one side is working with the NexusDB and the other works with mySQL to control the settings on the page . The mySQL works fine but the NexusDB has this problem micael Quote:
|
Re: International character problem
What PHP version do you use?
On 6/28/2013 11:36 AM, Micael wrote: > Changed to Widestring but still the same problem. > I also made a little testprogram with the same codebase where one side > is working with the NexusDB and the other works with mySQL to control > the settings on the page . The mySQL works fine but the NexusDB has this > problem > > micael > > 'Alexander Telegin [NDX Wrote: >> ;98066']Micael, >> >> Try to use WideString field type instead of Shortstring. >> >> Regards, >> Alex >> >> On 6/24/2013 6:54 PM, Micael wrote: >>> Working with HTML5 Builder >>> Have a database connected to NexusDB >>> have a textfield that in enterpricemanager says аЕаДаЖ >>> when getting the same field with a Query it shows like >> бÂ*т”˜бÂ*т””РÂ*тˆš >>> >>> What to do >>> >>> > > |
5.3
micael Quote:
|
Re: International character problem
Micael, I sent you deployed version that works fine, at least, with
Cyrillic charset. Please test and let me know. On 6/29/2013 12:15 AM, Micael wrote: > 5.3 > micael > > 'Alexander Telegin [NDX Wrote: >> ;98073']What PHP version do you use? >> >> >> On 6/28/2013 11:36 AM, Micael wrote: >>> Changed to Widestring but still the same problem. >>> I also made a little testprogram with the same codebase where one >> side >>> is working with the NexusDB and the other works with mySQL to control >>> the settings on the page . The mySQL works fine but the NexusDB has >> this >>> problem >>> >>> micael >>> >>> 'Alexander Telegin [NDX Wrote: >>>> ;98066']Micael, >>>> >>>> Try to use WideString field type instead of Shortstring. >>>> >>>> Regards, >>>> Alex >>>> >>>> On 6/24/2013 6:54 PM, Micael wrote: >>>>> Working with HTML5 Builder >>>>> Have a database connected to NexusDB >>>>> have a textfield that in enterpricemanager says аÐа•аÐа”аÐа >>>>> when getting the same field with a Query it shows like >>>> аБТÂ*б‚Т”Т˜аР‘ТÂ*б‚Т”Т”аБР¢Â*б‚ТˆТš >>>>> >>>>> What to do >>>>> >>>>> >>> >>> > > |
Thank You for all Your efforts
I run XAMPP 1.7.7 with php 5.3.8 and then it works Still when trying from within HTML5 Builder the problem remains micael Quote:
|
Re: International character problem
Did you put
ini_set('default_charset', 'utf-8'); at top of your page? On 7/1/2013 9:02 PM, Micael wrote: > Thank You for all Your efforts > I run XAMPP 1.7.7 with php 5.3.8 and then it works > > Still when trying from within HTML5 Builder the problem remains > > micael > > > 'Alexander Telegin [NDX Wrote: >> ;98084']Micael, I sent you deployed version that works fine, at least, >> with >> Cyrillic charset. Please test and let me know. >> >> On 6/29/2013 12:15 AM, Micael wrote: >>> 5.3 >>> micael >>> >>> 'Alexander Telegin [NDX Wrote: >>>> ;98073']What PHP version do you use? >>>> >>>> >>>> On 6/28/2013 11:36 AM, Micael wrote: >>>>> Changed to Widestring but still the same problem. >>>>> I also made a little testprogram with the same codebase where one >>>> side >>>>> is working with the NexusDB and the other works with mySQL to >> control >>>>> the settings on the page . The mySQL works fine but the NexusDB has >>>> this >>>>> problem >>>>> >>>>> micael >>>>> >>>>> 'Alexander Telegin [NDX Wrote: >>>>>> ;98066']Micael, >>>>>> >>>>>> Try to use WideString field type instead of Shortstring. >>>>>> >>>>>> Regards, >>>>>> Alex >>>>>> >>>>>> On 6/24/2013 6:54 PM, Micael wrote: >>>>>>> Working with HTML5 Builder >>>>>>> Have a database connected to NexusDB >>>>>>> have a textfield that in enterpricemanager says >> аÐаÂаÐТ•аÐа °ÐТ”аÐаÂаÐТ– >>>>>>> when getting the same field with a Query it shows like >>>>>> аÐа‘аЂТÂ*аБТ ‚аЂТ”аЂТ˜аÐа ‘аЂТÂ*аБТ‚аЂ Т”аЂТ”аÐа‘аР‚ТÂ*аБТ‚аЂТˆРЂТš >>>>>>> >>>>>>> What to do >>>>>>> >>>>>>> >>>>> >>>>> >>> >>> > > |
Perfect now everything works fine
Maybe HTML5 Builder should put that line when You choose Encoding for a page Thanks again for all micael Quote:
|
I was too quick to be happy
the added line ini_set('default_charset', 'utf-8'); Made everything from the database OK but all other text got the problem instead micael Quote:
|
All times are GMT +11. The time now is 01:41 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.