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

Advanced search
Hot Topics
Buraku hot topic Those Koreans got a lot of nerve
Buraku hot topic Shit! Coronavirus may also be transmitted via infected feces
Buraku hot topic beware of propaganda
Buraku hot topic Fashion advice to Lil' Kim from Castro in Tokyo
Buraku hot topic Benazir Bhutto: Bin Laden Murdered
Buraku hot topic Philippines is Emerging As A New Partner of Japan
Buraku hot topic Whats with all the Iranians?
Buraku hot topic Bad Hombres
Buraku hot topic OMFG! Japan is about to run out of people!
Buraku hot topic WHITE JAPANESE PEOPLE - 白人系日本人
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