Re: ordering Japanese

[email protected] (Kino) Sat, 6 May 2006 00:33:52 +0900
Newsgroups perl.i18n
Message-ID <[email protected]>
On 5 May 2006, at 23:19, Mike Barborak wrote:

> Second, to answer Kino's question - I'm not sure what the input =20
> method is other than to say the Japanese is being submitted via a =20
> form on a UTF-8 web page. My input method has been to cut and paste =20=

> from other UTF-8 sources - hmmm. But in other words, I don't have a =20=

> hook into that part of the process.

Now I understand the situation.

> Third, so the solution seems to be that I will have the content =20
> editors enter not only the properly formatted names of the stores =20
> but also a kana-only phoneticization (is that a word?) of the store =20=

> name.

Usually it is called =E8=AA=AD=E3=81=BF (yomi). It would be better to =
let them =20
enter not only the yomi of a company name (e.g. =E3=81=95=E3=81=8F=E3=82=89=
=E3=81=AE=E3=81=B2=E3=82=83=E3=81=A3=20
=E3=81=8B=E3=81=A6=E3=82=93 for =E3=81=95=E3=81=8F=E3=82=89=E9=87=8E=E7=99=
=BE=E8=B2=A8=E5=BA=97) but also that of the place name =20
(e.g. =E3=81=9B=E3=82=93=E3=81=A0=E3=81=84 for =E4=BB=99=E5=8F=B0), I =
think. Or what do you

> Then when ordering, i will do this based on that kana-only field =20
> rather than the actual name. I believe that should work but please =20
> let me know if you see any difficulties with that.

Yes, you are right. That is the way to go.


One thing I just noticed in your example...

On 4 May 2006, at 8:12, Mike Barborak wrote:
> 1. =E4=BC=8A=E5=8B=A2=E4=B8=B9=E3=80=80JR=E4=BA=AC=E9=83=BD=E5=BA=97
> 2. =E3=82=A2=E3=83=9A=E3=83=83=E3=82=AF=E3=82=B9=E3=80=80=E7=A6=8F=E5=B1=
=B1
> 3. =E3=82=A2=E3=83=9F=E3=83=A5=E3=83=97=E3=83=A9=E3=82=B6=E3=80=80=E9=B9=
=BF=E5=85=90=E5=B3=B6
> 4. =E3=82=AA=E3=82=AF=E3=83=8E=E3=80=80=E6=97=AD=E5=B7=9D
> 5. =E3=81=95=E3=81=8F=E3=82=89=E9=87=8E=E7=99=BE=E8=B2=A8=E5=BA=97=E3=80=
=80=E4=BB=99=E5=8F=B0
> 6. =E3=81=95=E3=81=A4=E3=81=BE=E5=B1=8B=E3=80=80=E9=B9=BF=E5=85=90=E5=B3=
=B6
> 7. =E3=82=B9=E3=82=BF=E3=83=B3=E3=82=B9=E3=80=80=E7=B1=B3=E5=AD=90
> 8. =E3=81=9D=E3=81=94=E3=81=86=E3=80=80=E7=A5=9E=E6=88=B8=E5=BA=97
> 9. =E3=81=9D=E3=81=94=E3=81=86=E3=80=80=E5=8D=83=E8=91=89=E5=BA=97
> 10. =E3=81=9D=E3=81=94=E3=81=86=E3=80=80=E5=A4=A7=E5=AE=AE=E5=BA=97
> 11. =E3=81=9D=E3=81=94=E3=81=86=E3=80=80=E6=A8=AA=E6=B5=9C=E5=BA=97
> 12. =E3=83=80=E3=82=A4=E3=82=A2=E3=83=A2=E3=83=B3=E3=83=89=E3=82=B7=E3=83=
=86=E3=82=A3=E3=82=A2=E3=83=AB=E3=83=AB=E3=80=80=E6=A9=BF=E5=8E=9F
> 13. =E3=83=8B=E3=83=A5=E3=83=BC=E3=82=BA=E3=80=80=E7=86=8A=E6=9C=AC

As you see, some data of the second entries end with =E5=BA=97 which =
means =20
"shop". So they will be understood as the latter half (e.g. JR=E4=BA=AC=E9=
=83=BD=20
=E5=BA=97) of the shop names (e.g. =E4=BC=8A=E5=8B=A2=E4=B8=B9JR=E4=BA=AC=E9=
=83=BD=E5=BA=97). And the others =20
lacking =E5=BA=97 will be interpreted as the place name. That looks a =
bit =20
disordered. If the second field is for shop name, you'd better add =E5=BA=97=
 =20
to entries 2-7 and 12-13. If it is for place name, remove =E5=BA=97 from =
=20
entries 1 and 8-11.


Kino


=E2=98=AF (This character is put here just to force my mail client to =
send =20
this message not in ISO-2022-JP but in UTF-8.)