Home | Forums | Mark forums read | Search | FAQ | Login

Advanced search
Hot Topics
Samurai_Jerk hot topic For all your pedophile doll needs
matsuki hot topic Random Nihonjin Caption Contest
wagyl hot topic Becky's first affair - with a married man; tabloids go crazy
kurogane hot topic 2020 Japan Olympics
wagyl hot topic Hashimoto: no sex slaves please, we're Japanese
Samurai_Jerk hot topic Japanese toilets! OMG!!!
Yokohammer hot topic Earthquake!
dimwit hot topic The original Weeb, 1947 - 2016
kurogane hot topic Random Gaijin Video of the Day
legion hot topic SMAP snapped!
Change font size
  • fuckedgaijin ‹ General ‹ Gaijin Ghetto ‹ F*cked Advice

help with double byte in website

Discuss legal, financial and medical issues, marriage, kids, divorce, property, business, death, taxes, etc. "Serious" topics only.
Disclaimer: This forum is for entertainment purposes only. If you want real advice, hire a professional.
Post a reply
2 posts • Page 1 of 1

help with double byte in website

Postby Bucky » Fri Oct 19, 2007 2:08 am

I am looking for some help on customizing a web template to deal with counting double byte and single byte characters.

We have a website template that we are using for classified advertising purposes in the US. We are billing the clients for the ads based on line length – 20 doublebyte/40 single byte characters per line for $X.00.

The folks who handle all the back end work on the site are not Japanese and do not have a lot of double byte experience.

They have tried a work around of creating separate fields that will hold 40 characters with the thought that the double byte characters would be interpreted as 2 single byte characters, and we could get 20 double byte or 40 single byte characters in the field however that did not work. Both double byte AND single byte ended up counted the same. Is there some way to code in a counting configuration that would interpret double byte as two and single byte as one character?

Thanks
[font="Arial Black"][SIZE="7"]B[/SIZE][/font][font="Palatino Linotype"][SIZE="6"]u[/SIZE][/font][font="Comic Sans MS"][SIZE="5"]c[/SIZE][/font][font="Impact"][SIZE="6"]k[/SIZE][/font]
User avatar
Bucky
Maezumo
 
Posts: 1786
Joined: Sat Dec 30, 2006 3:20 am
Location: Left Coast
Top

Postby yanpa » Sun Nov 04, 2007 11:52 am

Short answer: yes. Long answer: depends on the software (language, database) you're using.
User avatar
yanpa
 
Posts: 4786
Images: 11
Joined: Sun Nov 04, 2007 11:50 am
Location: Tokyo
Top


Post a reply
2 posts • Page 1 of 1

Return to F*cked Advice

Who is online

Users browsing this forum: No registered users and 1 guest

  • Board index
  • The team • Delete all board cookies • All times are UTC + 9 hours
Powered by phpBB® Forum Software © phpBB Group