Search found 493 matches: utf8

Return to advanced search

Re: TGet() - UTF8 encoding fails [Unsolved]

As a reminder: The correct UTF8 hexcodes for 'üäö' are C3BC, C3A4 und C3B6, not DC C4 D6, see for example https://www.charset.org/utf-8! DC C4 D6 are the ANSI hexcodes +---+--------+-----------------+|STR|ANSI-HEX|UTF8-HEX     ...
by nageswaragunupudi
Thu Oct 12, 2023 11:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGet() - UTF8 encoding fails [Solved]
Replies: 20
Views: 1781

Re: TGet() - UTF8 encoding fails [Unsolved]

... cVar1 doesn't change, that's OK! Editing also works, the encoding is and remains UTF8!: https://i.postimg.cc/1RdqQnB0/Screenshot-2023-10-12-091706.png --------------------------------- As a reminder: The correct UTF8 ...
by frose
Thu Oct 12, 2023 7:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGet() - UTF8 encoding fails [Solved]
Replies: 20
Views: 1781

Re: TGet() - UTF8 encoding fails [Unsolved]

Probably the encoding is already changed to ANSI before the TGet() was activated!?


Yes.

We will discuss how you and other programmers would like the behavior to be.
by nageswaragunupudi
Wed Oct 11, 2023 10:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGet() - UTF8 encoding fails [Solved]
Replies: 20
Views: 1781

Re: TGet() - UTF8 encoding fails [Unsolved]

I noticed that all hexcodes in your example are ANSI and that there are NO UTF8 2-byte hexcodes!

Probably the encoding is already changed to ANSI before the TGet() was activated!?

Maybe it is the text object to display the hexcode directly?

I'll test it tomorrow 8)
by frose
Wed Oct 11, 2023 8:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGet() - UTF8 encoding fails [Solved]
Replies: 20
Views: 1781

Re: TGet() - UTF8 encoding fails [Unsolved]

I am running the code I posted.
I do not see an problems here.
Are you using FWH2307 please?
Image
by nageswaragunupudi
Wed Oct 11, 2023 6:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGet() - UTF8 encoding fails [Solved]
Replies: 20
Views: 1781

Re: TGet() - UTF8 encoding fails [Unsolved]

nothing has changed!

If I put an 'a' at the end of the given characters, then the encoding changes to ANSI:
Image
by frose
Wed Oct 11, 2023 4:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGet() - UTF8 encoding fails [Solved]
Replies: 20
Views: 1781

Re: TGet() - UTF8 encoding fails [Unsolved]

But when editing, the encoding switches! Please try this: #include "fivewin.ch"function Main()   local oDlg   local oGet   local cVar1 := "üäö"   FW_SetUnicode( .T. )   DEFINE DIALOG oDlg SIZE 300, 300 PIXEL TRUEP...
by nageswaragunupudi
Wed Oct 11, 2023 9:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGet() - UTF8 encoding fails [Solved]
Replies: 20
Views: 1781

Re: TGet() - UTF8 encoding fails [Unsolved]

yes, so far everything is in order.
But when editing, the encoding switches!

Please wait for my next post.
Ok, I will wait, it is not very urgent. In some places I have switched to TEdit(), but would like to return to TGet().
by frose
Wed Oct 11, 2023 6:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGet() - UTF8 encoding fails [Solved]
Replies: 20
Views: 1781

Re: TGet() - UTF8 encoding fails [Unsolved]

I copied your program as it is and built with FWH2307 and this is what I got.
Image

However, there is a lot more to discuss about TGet and Umlauts.
Please wait for my next post.
by nageswaragunupudi
Wed Oct 11, 2023 12:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGet() - UTF8 encoding fails [Solved]
Replies: 20
Views: 1781

Re: TGet() - UTF8 encoding fails [Unsolved]

super, ok :D
by frose
Mon Oct 09, 2023 8:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGet() - UTF8 encoding fails [Solved]
Replies: 20
Views: 1781

Re: TGet() - UTF8 encoding fails [Unsolved]

Looking into this.
Please wait a little
by nageswaragunupudi
Mon Oct 09, 2023 7:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGet() - UTF8 encoding fails [Solved]
Replies: 20
Views: 1781

Re: TGet() - UTF8 encoding fails [Unsolved]

Dear Mr. Nageswara Rao,

can you confirm the unwanted change of the encoding?
If so, do you plan to correct this behavior?

Many greetings
Frank
by frose
Fri Oct 06, 2023 9:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGet() - UTF8 encoding fails [Solved]
Replies: 20
Views: 1781

Re: TGet() - UTF8 encoding fails

Yes, the encoding switch from UTF8 to ANSI
by frose
Thu Sep 14, 2023 8:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGet() - UTF8 encoding fails [Solved]
Replies: 20
Views: 1781

Re: TEdit() - UTF8 encoding fails

UTF-8 to Unicode

Utf-8 is Unicode
Probably you mean ANSI to UTF8.
by nageswaragunupudi
Thu Sep 14, 2023 8:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGet() - UTF8 encoding fails [Solved]
Replies: 20
Views: 1781

TGet() - UTF8 encoding fails [Solved]

UTF8 encoding fails in TGet()! #include "fivewin.ch"function Main()   local oDlg   local oGet   local cVar1 := "üäö"   REQUEST HB_CODEPAGE_UTF8   HB_CDPSELECT( "UTF8" )   FW_SetUnicode( ...
by frose
Thu Sep 14, 2023 8:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGet() - UTF8 encoding fails [Solved]
Replies: 20
Views: 1781
PreviousNext

Return to advanced search