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

Advanced search
Hot Topics
Buraku hot topic Confronting the Japanese
Buraku hot topic Russian Shenanigans
Buraku hot topic 1000s in Tokyo rally to CELEBRATE 9.11 terror attacks
Buraku hot topic As if gaijin men didn't have a bad enough reputation...
Buraku hot topic Japan's Negative Attitude Towards Islam & Muslims
Buraku hot topic Those Koreans got a lot of nerve
Buraku hot topic Japan 'very concerned' over Iran tension
Buraku hot topic beware of propaganda
Buraku hot topic Iran, DPRK, Nuke em, Like Japan
Buraku hot topic Benazir Bhutto: Bin Laden Murdered
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 10 guests

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