Questions tagged [double-byte]
42 questions
0
votes
2 answers
Double-byte characters in querystring using PHP
I'm trying to figure out how to create personalized urls for double-byte languages.
For example, this url from Amazon Japan has Japanese characters within the querystring (specifically, the…

Jeffrey Berthiaume
- 4,054
- 3
- 35
- 45
0
votes
1 answer
Simulate maxlength with Japanese characters for textarea in ie8-
I'm trying to simulate the HTML5 behavior for maxlength for a textarea in lower versions of Internet Explorer (ie8, ie7):
0
votes
0 answers
Double byte chars (chinese) is making div not being rendered in IE9
Context:
An HTML list is not rendering an
tag inside an tag when the div that is before these tags has chinese/japanese/korean chars.
Here is the sample code:

periback2
- 1,459
- 4
- 19
- 36
0
votes
1 answer
how to insert double byte to DB without add N into the literal
a lot of people say you can do this:
declare @str nvarchar(255);
declare @finalValue nvarchar(255);
set @str = N'好使';
set @finalValue = @str;
But this is not my case. What I want to do is something like this:
declare @str …

Kurt Shaw
- 609
- 2
- 10
- 26
0
votes
1 answer
Reading chinese double byte chars from iSeries DataReader
I am using IBM iSeries .NET datareader to get data from the AS400.
1) What do I need to do in the AS400 side to send double byte chars
2) Will the IBM iSeries preserve double byte chars? All I get is an empty string

Arcadian
- 4,312
- 12
- 64
- 107
0
votes
1 answer
PHP Convert Double Byte String to Single Byte String?
I have a string with double byte, now I want convert to 1 byte.
Example:
$input = "2012/12/31";
I want to output: 2012/12/31
For C#: How to Convert Double Byte String to Single Byte String?
Found the anwser from:
how to transform japanese english…

Thien Nguyen
- 928
- 10
- 12
0
votes
0 answers
Variable-length DBCS-graphic Fields in XSLT
I am trying to update a table including dbcs fields through a stored procedure. But I am getting an error while calling the sp.
ERROR:CLI0109E String data right truncation. SQLSTATE:22001 {Row=1,Col=20}.
In my process, I inquire a table using Store…

farisb
- 1
0
votes
1 answer
What is the difference between double byte font and single byte font?
I came across the term 'double byte' font when I was reading a technical documentation for a product. Googling the answer did not help either.

Anup
- 951
- 2
- 10
- 25
0
votes
3 answers
Convert double-byte numbers and spaces in filenames to ASCII
Given a directory of filenames consisting of double-byte/full-width numbers and spaces (along with some half-width numbers and underscores), how can I convert all of the numbers and spaces to single-byte characters?
For example, this filename…

Miles Wolbe
- 627
- 10
- 14
0
votes
0 answers
HSQLDB and double byte chars
I need to store double byte chars (Japanese Kanji) in an in-memory DB within a Java EE web app.
I'm considering using HSQL.
Will it support double byte chars?

Thomas Buckley
- 5,836
- 19
- 62
- 110
0
votes
1 answer
Executing update for MySQL with double byte makes field incorrect string
MySQL is set as UTF-8(utf8_general_ci: MySQL, Table, Column).
I can SELECT varchar value as original double byte character via ADODB and ASP(Legacy VB Script). These characters are inserted from phpMyAdmin.
ASP pages are saved as encoding Shift_JIS…

conecon
- 404
- 4
- 10
-1
votes
1 answer
Single byte, Double byte, triple byte characters how to find which one is entered by user
While working on a multilingual site (with Japanese and Chinese languages ) where users were allowed to enter characters in regional language. I had this requirement to validate user inputs based on memory taken by each character as character can…

paraS elixiR
- 1,866
- 1
- 18
- 26