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

Advanced search
Hot Topics
Buraku hot topic 'Paris Syndrome' strikes Japanese
Buraku hot topic Global Immigration Debate
Buraku hot topic Japan...the most xenophobic/racist in the world?
Buraku hot topic All-Year Round Orgy Ring Busted
Buraku hot topic Saying "Hai" to Halal
Buraku hot topic Tokyo cab reaches NY from Argentina, meter running
Buraku hot topic Japanese jazz pianist beaten up on NYC subway
Thanatos' embalmed botfly hot topic Where The Hell Did Everyone Go?
Buraku hot topic Japan calls for German warships! old Asia band is back?
Buraku hot topic Anti-Foreigner Demo In Saitama
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: 1806
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: 5671
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 2 guests

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