php-i18n Digest 2 Mar 2001 17:21:06 -0000 Issue 55 Topics (messages 127 through 131): Re: International support 127 by: Peter Van Dijck 128 by: Hironori Neal Sato Fwd 129 by: Taylor Silvers Re: [PHP] International support 130 by: PHPBeginner.com [Resend] 131 by: jimmythetulip190.hotmail.com 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] ----------------------------------------------------------------------
"Ok the next part of this message is an article I thought would be generally interesting so I'm not hesitating to post it entirely. It was forwarded to me so I'm not sure of the source." here: http://www.zend.com/zend/cs/newbold.php Peter ~~~~~~~~~~~~~~~~~~~~~ http://liga1.com ,a weblog on: - Localisation - Internationalisation - Globalisation - Accessibility
(I'm only cc'ing to php-i18n) On Thu, Feb 22, 2001 at 10:22:37AM -0800, Soma Interesting wrote: >I'm currently working a project that is intended to handle Japanese >character sets - and now I'm told ideally iMode too. :) The iMode isn't >such an issue at the moment - but the article below has spooked me a >little. At an early point in the project we tested if putting some input >into a web form, which ultimately was handled by php then stored in >postgres would return fully intact - and it did. This left me comfortable >that PHP and Postgres don't seem to care what language they're storing in >fields or variables. I'm 'guessing' that this is because the data, whether >its English or Japanese is being stored in binary (or something else?). Of >course I wouldn't be able to sort the data or do anything else that would >require PHP/Postgres to be able to interpret the data. However if I compile >Postgres with locals support for the character set/language in question - >then postgres will be able to sort Japanese. Is this right? I haven't touched Postgres in last four years, but I would assume you are correct. As far as MySQL goes, you can set locale (actually, charset) and sorting Japanese text should work just fine. >>Since r-newbold.com is in Japanese only, Studio Omame made sure to utilize >>PHP's Japanese character set conversion functions. However, this proved to >>be a challenge. > >Is this available for v4 of PHP yet? So far, the answer is no. I have attempted to implement Japanese extension to PHP4 before, but bumped into few problems. At that time, I had to quit working on it since I ran out of my spair time. But, we do have someone else working on this issue. I don't have any dates though. For time being, you can check out the latest version 3 that we rolled out at http://www.php.gr.jp/project/i18n/ . I have also written English README at http://www.php.gr.jp/project/i18n/README.i18n_eng.html . I hope that will get you started. Hiro -- Hironori Neal Sato <[EMAIL PROTECTED]> YYplanet.com - http://www.yyplanet.com/
Dear Friends & Future Millionaire: AS SEEN ON NATIONAL TV: ''Making over half million dollars every 4 to 5 months from your home for an investment of only $25 U.S. Dollars expense one time'' BE A MILLIONAIRE LIKE OTHERS WITHIN A YEAR!!! Before you say ''Bull'', please read the following. This is the letter you have been hearing about on the news lately. Due to the popularity of this letter on the Internet, a national weekly news program recently devoted an entire show to the investigation of this program described below, to see if it really can make people money. The show also investigated whether or not the program was legal. Their findings proved once and for all that there are ''absolutely NO Laws prohibiting the participation in the program and if people can -follow the simple instructions, they are bound to make some mega bucks with only $25 out of pocket cost''. DUE TO THE RECENT INCREASE OF POPULARITY & RESPECT THIS PROGRAM HAS ATTAINED, IT IS CURRENTLY WORKING BETTER THAN EVER. This is what one had to say: '' Thanks to this profitable opportunity. I was approached many times before but each time I passed on it. I am so glad I finally joined just to see what one could expect in return for the minimal effort and money required. To my astonishment, I received total $ 610,470.00 in 21 weeks, with money still coming in''. Pam Hedland, Fort Lee, New Jersey. ============================================================ Here is another testimonial: ''' this program has been around for a long time but I never believed in it. But one day when I received this again in the mail I decided to gamble my $25 on it. I followed the simple instructions and walaa ..... 3 weeks later the money started to come in. First month I only made $240.00 but the next 2 months after that I made a total of $290,000.00. So far, in the past 8 months by re-entering the program, I have made over $710,000.00 and I am playing it again. The key to success in this program is to follow the simple steps and NOT change anything.'' More testimonials later but first, ======== PRINT THIS NOW FOR YOUR FUTURE REFERENCE ========== (Or Have it E-mailed to you-See Submit Button Below) $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ If you would like to make at least $500,000 every 4 to 5 months easily and comfortably, please read the following...THEN READ IT AGAIN and AGAIN !!! $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ FOLLOW THE SIMPLE INSTRUCTION BELOW AND YOUR FINANCIAL DREAMS WILL COME TRUE, GUARANTEED! INSTRUCTIONS: ===== Order all 5 reports shown on the list below. ========= For each report, send $5 CASH, THE NAME & NUMBER OF THE REPORT YOU ARE ORDERING and YOUR E-MAIL ADDRESS to the person whose name appears ON THAT LIST next to the report. MAKE SURE YOUR RETURN ADDRESS IS ON YOUR ENVELOPE TOP LEFT CORNER in case of any mail problems. === When you place your order, make sure you order each of the 5 reports. You will need all 5 reports so that you can save them on your computer and resell them. YOUR TOTAL COST $5 X 5=$25.00. === Within a few days you will receive, vie e-mail, each of the 5 reports from these 5 different individuals. Save them on your computer so they will be accessible for you to send to the 1,000's of people who will order them from you. Also make a floppy of these reports and keep it on your desk in case something happen to your computer. === IMPORTANT __ DO NOT alter the names of the people who are listed next to each report, or their sequence on the list, in any way other than what is instructed below in step '' 1 through 6 '' or you will lose out on majority of your profits. Once you understand the way this works, you will also see how it does not work if you change it. Remember, this method has been tested, and if you alter, it will NOT work !!! People have tried to put their friends/relatives names on all five thinking they could get all the money. But it does not work this way. Believe us, we all have tried to be greedy and then nothing happened. So Do Not try to change anything other than what is instructed. Because if you do, it will not work for you. Remember, honesty reaps the reward!!! 1.... After you have ordered all 5 reports, take this advertisement and REMOVE the name & address of the person in REPORT # 5. This person has made it through the cycle and is no doubt counting their fortune. 2.... Move the name & address in REPORT # 4 down TO REPORT # 5. 3.... Move the name & address in REPORT # 3 down TO REPORT # 4. 4.... Move the name & address in REPORT # 2 down TO REPORT # 3. 5.... Move the name & address in REPORT # 1 down TO REPORT # 2 6.... Insert YOUR name & address in the REPORT # 1 Position. PLEASE MAKE SURE you copy every name & address ACCURATELY! ============================================================ **** Take this entire letter, with the modified list of names, and save it on your computer. DO NOT MAKE ANY OTHER CHANGES. Save this on a disk as well just in case if you lose any data. To assist you with marketing your business on the internet, the 5 reports you purchase will provide you with invaluable marketing information which includes how to send bulk e-mails legally, where to find thousands of free classified ads and much more. There are 2 Primary methods to get this venture going: METHOD # 1: BY SENDING BULK E-MAIL LEGALLY ============================================================ Let's say that you decide to start small, just to see how it goes, and we will assume You and those involved send out only 5,000 e-mails each. Let's also assume that the mailing receive only a 0.2% response (the response could be much better but lets just say it is only 0.2%. Also many people will send out hundreds of thousands e-mails instead of only 5,000 each). Continuing with this example, you send out only 5,000 e-mails. With a 0.2% response, that is only 10 orders for report # 1. Those 10 people responded by sending out 5,000 e-mail each for a total of 50,000. Out of those 50,000 e-mails only 0.2% responded with orders. That's=100 people responded and ordered Report # 2. Those 100 people mail out 5,000 e-mails each for a total of 500,000 e-mails. The 0.2% response to that is 1000 orders for Report # 3. Those 1000 people send out 5,000 e-mails each for a total of 5 million e-mails sent out. The 0.2% response to that is 10,000 orders for Report # 4. Those 10,000 people send out 5,000 e-mails each for a total of 50,000,000 (50 million) e-mails. The 0.2% response to that is 100,000 orders for Report # 5 THAT'S 100,000 ORDERS TIMES $5 EACH=$500,000.00 (half million). Your total income in this example is: 1..... $50 + 2..... $500 + 3..... $5,000 + 4..... $50,000 + 5..... $500,000 ........ Grand Total=$555,550.00 NUMBERS DO NOT LIE. GET A PENCIL & PAPER AND FIGURE OUT THE WORST POSSIBLE RESPONSES AND NO MATTER HOW YOU CALCULATE IT, YOU WILL STILL MAKE A LOT OF MONEY ! ============================================================ REMEMBER FRIEND, THIS IS ASSUMING ONLY 10 PEOPLE ORDERING OUT OF 5,000 YOU MAILED TO. Dare to think for a moment what would happen if everyone or half or even one 4th of those people mailed 100,000 e-mails each or more? There are over 150 million people on the Internet worldwide and counting. Believe me, many people will do just that, and more! METHOD # 2 : BY PLACING FREE ADS ON THE INTERNET ============================================================ Advertising on the net is very very inexpensive and there are hundreds of FREE places to advertise. Placing a lot of free ads on the Internet will easily get a larger response. We strongly suggest you start with Method # 1 and add METHOD # 2 as you go along. For every $5 you receive, all you must do is e-mail them the Report they ordered. That's it. Always provide same day service on all orders. This will guarantee that the e-mail they send out, with your name and address on it, will be prompt because they can not advertise until they receive the report. ====================== AVAILABLE REPORTS==================== ORDER EACH REPORT BY ITS NUMBER & NAME ONLY. Notes: Always send $5 cash (U.S. CURRENCY) for each Report. Checks NOT accepted. Make sure the cash is concealed by wrapping it in at least 2 sheets of paper. On one of those sheets of paper, Write the NUMBER & the NAME of the Report you are ordering, YOUR E-MAIL ADDRESS and your name and postal address. PLACE YOUR ORDER FOR THESE REPORTS NOW : ============================================================ REPORT # 1 : ''The Insider's Guide to Advertising for Free on the Net'' Order Report # 1 from: Jeff Nickel P.O. Box 560005 Charlotte, NC 28256-0005 USA ____________________________________________________________ REPORT # 2 : ''The Insider's Guide to Sending Bulk e- mail on the Net'' Order Report # 2 from : D. Gilstrap P.O. Box 311079 Atlanta, GA 31131 USA ____________________________________________________________ REPORT # 3 : ''The Secret to Multilevel marketing on the net'' Order Report # 3 from: Stella Dottir 2327 1/2 Chartres St. New Orleans, LA 70117 USA ____________________________________________________________ REPORT # 4 : ''How to become a millionaire utilizing MLM & the Net'' Order Report # 4 from: Amos Miller 261 Joost Ave. San Francisco, CA 94131 USA ____________________________________________________________ REPORT # 5 : ''HOW TO SEND 1 MILLION E-MAILS FOR FREE'' Order Report # 5 from: Loren Stone P.O. Box 6232 Clearfield, UT 84089 USA ____________________________________________________________ $$$$$$$$$ YOUR SUCCESS GUIDELINES $$$$$$$$$$$ Follow these guidelines to guarantee your success: === If you do not receive at least 10 orders for Report #1 within 2 weeks, continue sending e-mails until you do. === After you have received 10 orders, 2 to 3 weeks after that you should receive 100 orders or more for REPORT # 2. If you did not, continue advertising or sending e-mails until you do. === Once you have received 100 or more orders for Report # 2, YOU CAN RELAX, because the system is already working for you, and the cash will continue to roll in ! THIS IS IMPORTANT TO REMEMBER: Every time your name is moved down on the list, you are placed in front of a different report. You can KEEP TRACK of your PROGRESS by watching which report people are ordering from you. IF YOU WANT TO GENERATE MORE INCOME SEND ANOTHER BATCH OF E-MAILS AND START THE WHOLE PROCESS AGAIN. There is NO LIMIT to the income you can generate from this business !!! ============================================================ FOLLOWING IS A NOTE FROM THE ORIGINATOR OF THIS PROGRAM: You have just received information that can give you financial freedom for the rest of your life, with NO RISK and JUST A LITTLE BIT OF EFFORT. You can make more money in the next few weeks and months than you have ever imagined. Follow the program EXACTLY AS INSTRUCTED. Do Not change it in any way. It works exceedingly well as it is now. Remember to e-mail a copy of this exciting report after you have put your name and address in Report #1 and moved others to #2 ...........# 5 as instructed above. One of the people you send this to may send out 100,000 or more e-mails and your name will be on every one of them. Remember though, the more you send out the more potential customers you will reach. So my friend, I have given you the ideas, information, materials and opportunity to become financially independent. IT IS UP TO YOU NOW! ==================== MORE TESTIMONIALS====================== '' My name is Mitchell. My wife, Jody and I live in Chicago. I am an accountant with a major U.S. Corporation and I make pretty good money. When I received this program I grumbled to Jody about receiving ''junk mail''. I made fun of the whole thing, spouting my knowledge of the population and percentages involved. I ''knew'' it wouldn't work. Jody totally ignored my supposed intelligence and few days later she jumped in with both feet. I made merciless fun of her, and was ready to lay the old ''I told you so'' on her when the thing didn't work. Well, the laugh was on me! Within 3 weeks she had received 50 responses. Within the next 45 days she had received total $ 147,200.00 ........... all cash! I was shocked. I have joined Jody in her ''hobby''. Mitchell Wolf M.D., Chicago, Illinois ============================================================ '' Not being the gambling type, it took me several weeks to make up my mind to participate in this plan. But conservative that I am, I decided that the initial investment was so little that there was just no way that I wouldn't get enough orders to at least get my money back''. '' I was surprised when I found my medium size post office box crammed with orders. I made $319,210.00 in the first 12 weeks. The nice thing about this deal is that it does not matter where people live. There simply isn't a better investment with a faster return and so big''. Dan Sondstrom, Alberta, Canada ============================================================ '' I had received this program before. I deleted it, but later I wondered if I should have given it a try. Of course, I had no idea who to contact to get another copy, so I had to wait until I was e-mailed again by someone else.........11 months passed then it luckily came again...... I did not delete this one! I made more than $490,000 on my first try and all the money came within 22 weeks''. Susan De Suza, New York, N.Y. ============================================================ '' It really is a great opportunity to make relatively easy money with little cost to you. I followed the simple instructions carefully and within 10 days the money started to come in. My first month I made $ 20,560.00 and by the end of third month my total cash count was $ 362,840.00. Life is beautiful, Thanx to internet''. Fred Dellaca, Westport, New Zealand ============================================================ ORDER YOUR REPORTS TODAY AND GET STARTED ON YOUR ROAD TO FINANCIAL FREEDOM ! ============================================================ If you have any questions of the legality of this program, contact the Office of Associate Director for Marketing Practices, Federal Trade Commission, Bureau of Consumer Protection, Washington, D.C. ============================THE END=========================
Hi (Soma Interesting?) I am also a developer here in Tokyo and have done few I-Mode websites using PHP and mySQL. (I've used PostgreSQL with Japanese, but not for I-Mode) ( see www.japaninc.com/i ) There's no particular problems of storing the 2-bit data in your databases, the only thing is that to do sorting you have to compile the databases with the language needed ( regardless of which database you use - see their docs they all support that). With PHP there's a little problem using string functions. strlen(), for instance will return you the number of bytes. In Latin characters ASCII 1-255 a character is a byte, but that doesn't apply to Japanese which use double bits (some characters are even three bits), so a strlen() will not return you the number of Hiragana & Kanji in string - it will return you the number of bits these Kanji were composed from - VERY, VERY UGLY.... You need to use PHP3 Japanese interpretation to do that kind of tasks. In our company we use a different server for Japanese characters running PHP3 JIS, and the pages are being included form there. IE: www.fusion-2000.net runs both PHP4 and PHP3 JIS with PostgreSQL at the back end. While www.japaninc.com/i goes on PHP4.0.1pl2 and mySQL, (check out that game) So, no worries, it is all possible to do, except there's a pain with choosing PHP version for the server. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -----Original Message----- From: Soma Interesting [mailto:[EMAIL PROTECTED]] Sent: Friday, February 23, 2001 3:23 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP] International support Hello everyone, I'm currently working a project that is intended to handle Japanese character sets - and now I'm told ideally iMode too. :) The iMode isn't such an issue at the moment - but the article below has spooked me a little. At an early point in the project we tested if putting some input into a web form, which ultimately was handled by php then stored in postgres would return fully intact - and it did. This left me comfortable that PHP and Postgres don't seem to care what language they're storing in fields or variables. I'm 'guessing' that this is because the data, whether its English or Japanese is being stored in binary (or something else?). Of course I wouldn't be able to sort the data or do anything else that would require PHP/Postgres to be able to interpret the data. However if I compile Postgres with locals support for the character set/language in question - then postgres will be able to sort Japanese. Is this right? Have I got this all right so far? I have attempted to do my research on this - but finding a real beginners guide to international web development has been a trick. And the best sources I have found on this topic generally are specific to Oracle. Any links would be appreciated. Ok the next part of this message is an article I thought would be generally interesting so I'm not hesitating to post it entirely. It was forwarded to me so I'm not sure of the source. For the postgres folks, these developers went with MySQL - I've chosen Postgres. Is there anything MySQL does that Postgres doesn't in terms of language support that I should be aware of? >Back to case study >r-newbold.com > >George Baptista is riding the wave of the latest technology with his >company's newest venture: ><http://www.r-newbold.com>r-newbold.<http://www.r-newbold.com>com, a >wireless i-Mode site created with PHP. > >Based in Tokyo, George is a Web developer and co-partner with Izumi >Hiroshima at <http://www.omame.com>Studio <http://www.omame.com>Omame. He >was part of the creative team behind the Japanese-language site, and he is >finding that i-Mode is not only fashionable, but also the face of the future. > >r-newbold.com was developed for British fashion designer, Paul Smith. NTT >DoCoMo's i-Mode Web-browsing cellular phones, which already have over 10 >million users, offers a fast wireless data service with Internet access. >In Japan, it's been a hit with the younger generation. And since >r-newbold.com's target population is young, hip and fashionable, the >decision to create an i-Mode site rather than a regular Web site made >perfect sense. > >PHP and i-Mode: The perfect match >"i-Mode is exploding in Japan," George adds. "It offers new and >interesting challenges to the developer. The i18n J version of PHP is an >increasingly popular choice for developers [in Japan] because of its >overall performance, speed of development, and character set capability >features." > >George and his team at Studio Omame have already been using PHP for about >a year prior to developing the r-newbold site, and were very pleased with >its performance. He cites several reasons for his company's choice of PHP >including: >* PHP's overall performance and reliability >* ease with which to prototype in >* PHP's large and growing developer base >"There are a growing number of developers in Tokyo using it. We also knew >there was ample support on both main and Japanese PHP mailing lists for >any problems that might come up," George says. >"PHP became especially useful to us when Shigeru Kanemoto, Hironori Neal >Sato and a few other developers worked to release a version of PHP >3.0.15-i18n. We are looking forward to this same core of people to also >soon release an i18n J version of PHP 4. We expect it will provide us with >even greater speed and performance than PHP 3." >Studio Omame's decision to use PHP was welcomed by Paul Smith's company. >The open-source nature of the product was simply not an issue. "We >suggested PHP, and there was no problem. They were happy about the >cost-savings involved," George recalls. > >PHP's Japanese challenge >Since r-newbold.com is in Japanese only, Studio Omame made sure to utilize >PHP's Japanese character set conversion functions. However, this proved to >be a challenge. Is this available for v4 of PHP yet? >"Dealing with character sets when developing for the Japanese market is a >headache," George says. "There's not one, but 3 character sets in wide >use: SJIS, EUC and JIS. > >"We used all of them for this project. All output for the i-Mode platform >needs to be SJIS, while input to MySQL is in EUC, and data for mailing was >encoded in JIS. Ensuring the integrity of data via character set >conversion was a very important factor. Ultimately, PHP made this project >much smoother and very enjoyable. Not having to worry about character set >mangling is a godsend." > >There was also the task of adapting PHP from computers to telephones. "The >unique nature of celluar phone interfaces affected our application >development. For example, people browsing the Web using i-Mode phones tend >to use the back button a lot, rather than 'back' or 'return' links. >Figuring out how to deal with this in preserving session data integrity >took a little thinking." > >George and his team did figure it out, although George points out that >"Daryl Jones of TEA, a communications firm based in Silicon Valley, helped >out tremendously with the network and server consulting and set-up, so >that we could focus totally on PHP development." >It took Studio Omame almost two months to write the PHP scripts for all of >the site's functions, including mail and accessing MySQL. "As much as >possible, we try to stick with *nix, Apache, PHP," George says. > >The current shop database holds approximately 60 records, and the >membership section is designed to easily handle an initial 20,000 records. >In addition, other miscellaneous tables are used for administrative purposes. > >PHP's functions >PHP serves a variety of functions on the r-newbold site, including: >* authentication and sessions via PHPLIB for a member-only section >* PHP scripts + cron accessing MySQL database to send out daily e-mails >* heavy use of mail functions for viral-marketing features >* detecting specific browser/celluar handset and serving the appropriate >interface >* Japanese character set functions specific to i18n version, ensuring SJIS >output, internal processing in EUC >* mail operations in JIS > >As far as security purposes are concerned, Studio Omame decided to use >PHPLIB for authentication. "At first we tried using the standard HTTP >authentication method, but it turned out that certain i-Mode handsets had >somewhat sketchy browser implementations, and they would need to log-in >for each password-protected page! So we turned to PHPLIB, which worked >very nicely." > >The site currently receives more than 3,000 page views per day, with most >visitors spending about 5 minutes at a time on the site. "In Japan, people >generally use i-Mode sites in mini-bursts, for example, while waiting for >the train, riding the bus or walking about the street," George says. > >r-newbold.com hopes to receive approximately 200,000 visitors a day >initially. "We tried to reduce the amount of calls to MySQL as much as >possible, and instead created static pages that are updated from an >administration screen." > >Data is collected on visitors in the members' section only. It's an >entirely opt-in, voluntary feature, George notes. >Studio Omame also used Adobe's GoLive 5 for the information design and >page-template creation for this project. The WebDav and i-Mode eMoji >features were particularly useful. > >As i-Mode becomes more and more popular, George says he hopes PHP will >eventually provide more i18n compatibility. >In the meantime, Studio Omame has launched omake.com in an experimental >i-Mode site using PHP. Several other i-Mode projects are also in the >pipeline. "We plan to use PHP extensively for all of them," George predicts. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[Resend] Was Not Able To Take Last Entry.. Please Fill Out Again. Hey... We Haven't Talked In So Long!! How Have You Been? Thought I would Forward you this email! I usually delete these but I opened this one, like what I saw, and thought you would like to see this. http://%33%35%30%36%35%36%31%34%39%37/cc%63v%76%76%78%78%78%7A%7A%7A%38%398%39/ IF THE LINK IS NOT HIGHLIGHTED OR YOU CANNOT CLICK ON IT. COPY AND PASTE IT IN YOUR BROWSER.