Subject | Re: [firebird-support] Problems with chars like á é ó, etc charset problem? |
---|---|
Author | Fabio Gomes |
Post date | 2005-11-29T17:53:03Z |
i m using this to connect:
<pre>
function conectar_firebird() {
$bd = "localhost:/path/to/database.gdb";
$usr = "username";
$snh = "password";
$charset ="ISO8859_1";
$conexao_id = ibase_connect($bd, $usr, $snh, $charset) or
die(ibase_errmsg());
return $conexao_id;
}
</pre>
<pre>
function conectar_firebird() {
$bd = "localhost:/path/to/database.gdb";
$usr = "username";
$snh = "password";
$charset ="ISO8859_1";
$conexao_id = ibase_connect($bd, $usr, $snh, $charset) or
die(ibase_errmsg());
return $conexao_id;
}
</pre>
On 11/29/05, Lester Caine <lester@...> wrote:
>
> Fabio Gomes wrote:
>
> > Sorry, but i dont know how to do it, could you help me?
> >
> > And also is kinda dificult to find info about php + firebird in google
> :(
>
> Well you could try asking on the firebird-php list - we can be quite
> helpful ;)
> But PHP does not always play nicely with character sets, which is why we
> need PHP6 and proper unicode support.
> What are you using to connect, raw PHP?
> In which case you just add the character set after the password
> http://uk.php.net/manual/en/function.ibase-connect.php
>
> --
> Lester Caine
> -----------------------------
> L.S.Caine Electronic Services
> Treasurer - Firebird Foundation Inc.
>
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Visit http://firebird.sourceforge.net and click the Resources item
> on the main (top) menu. Try Knowledgebase and FAQ links !
>
> Also search the knowledgebases at http://www.ibphoenix.com
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
>
>
> ------------------------------
> YAHOO! GROUPS LINKS
>
>
> - Visit your group "firebird-support<http://groups.yahoo.com/group/firebird-support>"
> on the web.
>
> - To unsubscribe from this group, send an email to:
> firebird-support-unsubscribe@yahoogroups.com<firebird-support-unsubscribe@yahoogroups.com?subject=Unsubscribe>
>
> - Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/>.
>
>
> ------------------------------
>
[Non-text portions of this message have been removed]