php-general Digest 15 Apr 2013 01:33:43 -0000 Issue 8195

2013-04-14 Thread php-general-digest-help
php-general Digest 15 Apr 2013 01:33:43 - Issue 8195 Topics (messages 320844 through 320847): Currency name before and after value 320844 by: Rafnews 320845 by: Matijn Woudt strange concatenation behavior with some currency symbols 320846 by: Rafnews Re: [ask]

Re: [PHP] [ask] convert unknown format Japanese string to readable string

2013-04-14 Thread Morning Star
i want to try something else. korean. i got no luck when I tried with Korean. 'UCS-2BE' to 'UTF-8' encoding conversion didn't work. i also tried with ISO-2022-KR and EUC-KR to 'UTF-8' , but no luck either. How can I do that? Regards, Marco On Fri, Apr 12, 2013 at 8:49 AM, Morning Star

[PHP] Currency name before and after value

2013-04-14 Thread Rafnews
Hi, I need to manage currency display in my program. I would like to know how can i do to detect if currency code/name should be placed before the amount/value or after. e.g. USD 1234,56 / USD -1234,56 $ 1234,56 / $ - 1234,56 1234.56 EUR / -1234.56 EUR 1234.56 EUR / -1234.56 EUR i

Re: [PHP] Currency name before and after value

2013-04-14 Thread Matijn Woudt
From wikipedia: According to the European Unionhttp://en.wikipedia.org/wiki/European_Union's Publication Office,[5] http://en.wikipedia.org/wiki/ISO_4217#cite_note-5 in English http://en.wikipedia.org/wiki/English_language_in_England, Irishhttp://en.wikipedia.org/wiki/Irish_language , Latvian

[PHP] strange concatenation behavior with some currency symbols

2013-04-14 Thread Rafnews
Hi, i almost finish my currency format displaying function, however i'm facing a strange displaying format behavior. here is an example in UTF-8: 1234.56 د.ج / 1234.56 DZD -- that's wrong it should be 1234.56 د.ج / 1234.56 DZD 1234.56 € / 1234.56 EUR -- that's OK 1234.56 ¥ / 1234.56 JPY --

Re: [PHP] [ask] convert unknown format Japanese string to readable string

2013-04-14 Thread Morning Star
Hi guys, Does anyone have an idea how to solve that? convert from Korea's encoding to utf8's encoding. Regards, Marco On Sun, Apr 14, 2013 at 6:29 AM, Morning Star morning.star.c...@gmail.com wrote: i want to try something else. korean. i got no luck when I tried with Korean. 'UCS-2BE' to