Questions tagged [double-byte]

42 questions
1
vote
1 answer

Can PostScript DocumentMedia section have Unicode chars

So this is the definition of the Document media section "%%DocumentMedia: ::= (Tag name of the media) ::= ::= (Width in PostScript units) …
grobartn
  • 3,510
  • 11
  • 40
  • 52
1
vote
0 answers

IBM Watson double-byte string conversion

In IBM's documentation for text-to-speech feature there is an example of adding words to Japanese custom model: Adding words to a Japanese custom model They say the following: The following examples of the PUT…
stedejan
  • 145
  • 1
  • 2
  • 9
1
vote
0 answers

Save data in single byte Kana for japanese language

I have a situation where I am storing bank name for Japanese culture for Japan. So the problem is we found the Bank Name which should be kana is saving as Double bytes Kanji in Database. The image below is being displayed as double byte This is how…
Abhishek
  • 33
  • 7
1
vote
0 answers

How to get the real length of Japanese string in javascript?

How can I get the real length of Japanese string? For example, the length() function would return the bytes length, not the actual length. s = ""; alert(s.length); // '2' Is there any way to get the real length which is in this case 1?
Waseem Senjer
  • 1,026
  • 3
  • 14
  • 25
1
vote
1 answer

Load a double byte string path into TinyXML2

I'm using TinyXML2 to load an xml document from disk. The path of the file (configFileName) is a wstring and I am converting it to string like so: tinyxml2::XMLDocument doc; std::string fileName(configFileName.begin(),…
Harry Boy
  • 4,159
  • 17
  • 71
  • 122
1
vote
1 answer

How to correct extra characters in strings due to language specific special characters in R?

I have two virtually equivalent strings. They look the same. str1<-"Diş Hekimliği Fakültesi" str2<-"Diş Hekimliği Fakültesi" But when I try nchar() on them they return 26 and 23 characters respectively. And when I use…
berkorbay
  • 443
  • 7
  • 22
1
vote
0 answers

Microsoft SQL Server Double Byte Characters

In Microsoft SQL Server, trying to put double byte characters into a string in the query will mess up the double byte strings unless there is an N front of the string, like this: SELECT 'double-byte string' -- puts question marks if string is…
Emre
  • 1,239
  • 9
  • 7
0
votes
0 answers

Php word find game in Baltic characters problems "ū" is equal to "ī" but why

found some cool code to generate words from given letters in English language it works flawlessly, but to use some special characters it has some glitches it thinks that "ū" is equal to "ī" you can try adding "drūtsjē" and it somehow finds…
0
votes
1 answer

Finding double-byte white spaces in SQL table

I have some rows in my SQL table that contain single byte space characters, and some that contain double byte space characters. I need to identify rows with double byte characters to fix them in the user interface. My first thought is to use…
0
votes
1 answer

Block users from entering double-byte characters in textboxes

I want users to prevent entering double-byte characters in input fields. Following code will allow users to enter a-z or A-Z. I want users to prevent entering double-byte characters like Korean, Chinese etc. But users should be allowed to enter…
Kasun
  • 196
  • 1
  • 14
0
votes
1 answer

PEGA Axis error: Parser already accessed

We have a PEGA frontend, from where we are keying in double byte characters like Japanese and being send to distributed java webservice through axis. This is working fine when we send singlebyte characters. Only failing while using double byte…
Amaldev
  • 91
  • 1
  • 1
  • 16
0
votes
1 answer

#1271 - Illegal mix of collations for operation '='

This error is occurred while selecting with date field.The date field type is "date" and the searched value is double byte.The searched condition is birth_day = '19940403'. How can we avoid the mysql error.
siva
  • 1
  • 1
  • 4
0
votes
2 answers

True double byte encoding

Exist some real double byte encoding (DBCS)? Except UCS-2, UTF-16 of course. I mean encoding, which save also ASCII as 2 bytes. I mean with null bytes. (00 20 - space) Please tell if it is used, if it is obsolete in standart / in use. The same…
MmM ...
  • 131
  • 1
  • 2
  • 14
0
votes
2 answers

Dectect ASCII codes for asian double byte / cyrillic character sets?

Is it possible to detect if an ascii character belongs to Asian double byte or Cyrillic character sets? Perhaps specific code ranges? I've googled, but not finding anything at first glance. There's an RSS feed I'm tapping into that has the locale…
0
votes
0 answers

batch script output file with double byte characters

I am new to scripting and i cant seem to find the answer to this. I wrote a simple batch script to run a sql query and save the output as a .txt file. However, the results contain double byte characters (for Japanese data) which are being converted…
Rachael
  • 1
  • 1