--- Zlatko Matic <[EMAIL PROTECTED]> escribió:

> Hello.
> 
> When using datagrid control in combination with SQLdb controls, I
> just can't 
> find appropriate CharSet to correctly display Croatian letters from
> a 
> database (in this case PostgreSQL 8.1.2 oin Win XP).
> As I can see, there is a "CharSet" property for datagrid, as well
> for 
> TPQConnection, TSQLTransaction, TSQLQuery and TDatasource. There is
> a list 
> of encodings for CharSet in datagrid (for example: ANSI_CHARSET, 
> BALTIC_CHARSET, RUSSIAN_CHARSET, UNICODE, etc...but there is no
> charset that 
> would correspond to Croatian language (WIN 1250)...
> 
> How to display correctly Croatian characters (letters) from
> PostgreSQL 
> database, by using SQLdb and datagrid?
> 
> Thanks.
> 
> Zlatko 
> 

Be sure to select a valid font name-charset combination. "default"
font name will probably fail although I don't know if you are using
default font name.

You could know what font support any charset by using the fontenum
program found in directory lazarus/examples/fontenum.

Try EASTEUROPE_CHARSET, it should list any font that supports cp1250
or iso8859-2, Though in windows I'm not so sure.

Jesus Reyes A.



        
        
                
___________________________________________________________ 
Do You Yahoo!? 
La mejor conexión a Internet y <b >2GB</b> extra a tu correo por $100 al mes. 
http://net.yahoo.com.mx 

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to