Probably the encoding is already changed to ANSI before the TGet() was activated!?
Antonio Linares wrote:Modified as Cristobal proposal
many thanks Cristobal
Antonio Linares wrote:Use:
ACTIVATED DIALOG oDlg VALID .F.
or this way:
ACTIVATED DIALOG oDlg VALID CanTheUserExit()