php-i18n Digest 4 Apr 2005 04:59:40 -0000 Issue 280
Topics (messages 850 through 852):
Re: setlocale and pt_BR problem on debian
850 by: Christian Stadler
851 by: Christian Stadler
Printing Chinese on Printer
852 by: Nick Lee
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jonis Maurin Cear� schrieb:
> Hi
Hi Jonis,
> I'm trying to use setlocale to setup my language to pt_BR for ue with
> strftime but don't work.
>
> I've tryied:
> pt_BR
> pt_BR.ISO_8859-1
> portuguese.br
> etc...
>
>
> but don't work, i just get in english.
Is pt_BR being listed, when you execute
locale -a
on the commandline?
system('locale -a'); should do the trick, if you don't have shell access.
Regards,
Christian Stadler
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCRcyr9250Hcbf/3IRAnGtAJ4wK0vjx9pB5C8aw9ppYlZOCX6d3ACeN9MP
R+Uwqo6hfR0VD/KLk7Hzhrg=
=mYQD
-----END PGP SIGNATURE-----
--- End Message ---
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jonis Maurin Cear� schrieb:
> Hi
Hi Jonis,
> I'm trying to use setlocale to setup my language to pt_BR for ue with
> strftime but don't work.
>
> I've tryied:
> pt_BR
> pt_BR.ISO_8859-1
> portuguese.br
> etc...
>
>
> but don't work, i just get in english.
Is pt_BR being listed, when you execute
locale -a
on the commandline?
system('locale -a'); should do the trick, if you don't have shell access.
Regards,
Christian Stadler
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCRcyr9250Hcbf/3IRAnGtAJ4wK0vjx9pB5C8aw9ppYlZOCX6d3ACeN9MP
R+Uwqo6hfR0VD/KLk7Hzhrg=
=mYQD
-----END PGP SIGNATURE-----
--- End Message ---
--- Begin Message ---
Hi,
I'm trying to print Chinese to a printer using PHP's
printer module (php_printer.dll). My platform is W2K,
English. I've printed Chinese successfully from
Notepad, so I know the printer can print Chinese.
I send the bytes to the printer using
printer_draw_text(). The printer just intreprets the
bytes as ascii characters, and prints out a string of
those weird characters. I've used
mb_convert_encoding() to convert the string to UTF-8
format before sending it to printer, but the result is
just another string of weird ascii characters.
So, where is the problem? How do I force the printer
to interpret the bytes in another encoding? Or ...
should I convert the bytes into another encoding, such
as UTF-7, UTF-16, etc???????
Thanks in advance for any help,
Nick
______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca
--- End Message ---