49 Topics

Member Avatar for
Member Avatar for kouty

Hello I try to learn the String.charCodeAt(index) method Here is a snippet that demonstrate that the first index is allways 48 independentely of the character. How work's it (I was expecting that each letter has her unicode-number equivalent. function unicoding(str) { for (i = 0; i < str.length; i ++) …

Member Avatar for Traevel
0
383
Member Avatar for winecoding

I am trying to do some text processing tasks against a collection of files stored in a directory. The data set is just standard 20-newsgroup data. However, running the following code segement gives error message such as `UnicodeDecodeError: 'utf8' codec can't decode byte 0x80 in position 240: invalid start byte` …

Member Avatar for vegaseat
0
385
Member Avatar for Gribouillis

Given a unicode string or file, what is the best way to find a short unicode string that is **not** a substring of the first one ? I want a working algorithm that avoids transforming the first string into a list of characters. My first idea is to choose a …

Member Avatar for Gribouillis
0
327
Member Avatar for lefteris.gkinis

I have a code behind in my web pages and I'm trying to write Greek characters in my SQL 2010 Tables. I write in my Tables but what I get is ????? why is that? What I have to do in my SQL in order get the Greek characters? Thank …

Member Avatar for lefteris.gkinis
0
211
Member Avatar for ccdsystems

Working with Microsoft Visual Studio 2010 Professional, using C#, with Microsoft SQL Server 2008. I have been tasked with taking an existing application, and making changes so that it can receive multiple languages in its text boxes without needing to configure ahead of time what language is to be used. …

Member Avatar for ccdsystems
0
1K
Member Avatar for Labdabeta

Hello, I have a file which I need to read which contains some unusual characters (EG: '╠') and I need to be able to read it and convert those characters to numbers. As an example of what I am looking for would be code that reads a file and prints …

Member Avatar for Labdabeta
0
397
Member Avatar for sireiz

Hi, I want to put urdu language text in a software to be searched. How can i do that? Software is like a lot of text and people can search through it to find specific sections or parts. And for those who don't know urdu, it is written like arabic. …

0
144
Member Avatar for karthick_pmk

Hi i am new to VC++, iam trying to implement the encoding of password **In Java ,** **byte[] saltedPassword = (password + getSalt()).getBytes();** **output :** ** SaltedPassword :[B@3eca90** in Java, saltedPassword get encoded value in the same way **i want to implement in VC++** How to do **Encoding in VC++**..? …

Member Avatar for Ancient Dragon
0
205
Member Avatar for tohtori.o

I'm trying to do the following: 1. get username typed into the userField 2. make a SEARCH mysql_query with the username as a variable I'm having a hard time getting past phase 2 since mysql_query takes a const char* as the query string, and I can only get username as …

Member Avatar for Ancient Dragon
0
284
Member Avatar for ktsangop

Hello i'd like to ask a quick one. -Mfc VC++ 6 application. -NO Unicode support by design. -Greek characters appear fine in all dialogs since OS is Windows Greek version (?) -Greek text is both hard coded in c++ source files and retrieved from mysql database. -ONE specific Edit Box …

0
101
Member Avatar for tayyabatiq

Hi, I want to output [chess symbols](http://en.wikipedia.org/wiki/Chess_symbols_in_Unicode) from unicode to console in c++, please tell me how to do that. Im using Dev c++, windows8 and console. Im just a beginner so please keep it simple for me (also tell me the libraries to include please)

Member Avatar for tayyabatiq
0
4K
Member Avatar for rakibtg

hi, my email form is written in php, it does not support multiple languages i mean unicode fonts. it shows something like this: খোলা জানালা . In this case what i should do.

Member Avatar for diafol
0
216
Member Avatar for giancan

Dear Friends, I'm having some troubles in my script connected with special characters. I built a program that is supposed to process some images in a folder and give back some files (xls and txt). Everything is fine in most of the cases, but if in the path (including filename) …

Member Avatar for giancan
0
1K
Member Avatar for Tygawr

Hello everyone, I am having a hard time reading and writing a UTF-8 file in visual c++ 2010. [CODE] void ReadUTF8File() { ifstream UTF8File("C:\\DaniWeb\\Desktop\\UTF8File.txt"); /* UTF8File.txt: ☺☻♥♦♣♠•◘○ */ string UTF8FileStr; if(UTF8File.is_open()) { while(!UTF8File.eof()) { UTF8File >> UTF8FileStr; cout << UTF8FileStr << endl; /* cout: ∩╗┐Γÿ║Γÿ╗ΓÖÑΓÖªΓÖúΓÖáΓÇóΓùÿΓùï */ } } UTF8File.close(); } …

Member Avatar for thines01
0
6K
Member Avatar for softDeveloper

Hi all, My web application uploads files from MySQL database. I have the text in ms word *.doc files, so I convert it to *.txt as UNICODE-UTF8, and mysql table charset is set to UTF8. I load the database entering this command: [CODE] LOAD DATA local INFILE 'file.txt' INTO TABLE …

0
140
Member Avatar for soltak

Hi, I'm using Windows and Python 3. I'm having problems using [B]os.listdir[/B] with Unicode. Let's say I have a directory which contains files with Unicode file names. The name and path of the directory itself might or might not be Unicode. When it is Unicode, I can't seem to get …

Member Avatar for soltak
0
2K
Member Avatar for ahoysailor

Hi, I'm having a problem with using the streamWriter to write to a unicode file. Code as follows: [CODE] for(int i = 1; i < 1018; ++i) { std::wostringstream integer; integer << L"IDS_STRING" << i << L"\t"; wstring thisString = integer.str(); thisString = thisString + L"\"Spare String\""; wchar_t* SpareString = …

Member Avatar for thines01
0
221
Member Avatar for PoovenM

Good day :) I'm trying to display some Unicode text (Выход) on a Button. C# uses UTF-16 encoding but I'm reading my data from a UTF-8 encoded file so I take the necessary steps to ensure that I've read the data correctly. In debug mode I see that the string …

Member Avatar for PoovenM
0
184
Member Avatar for ahoysailor

Hi, I'm having a problem with taking the user input from a richtextbox in Unicode and writing it to a Unicode text file. I'm able to read a different Unicode file and write it to the new file, but when it comes to writing the contents of the richtextbox to …

Member Avatar for ahoysailor
0
260
Member Avatar for HadoukenGr

[CODE]#include<stdio.h> #include<string.h> void FindWord (char used[30] , char string[30] , int wordsize); char* CleanString (char string[30], int wordsize); int main (void) { FILE *fp; char letters[30]; char words[30]; char used[30]; char *string; int wordsize; int input_size; input_size = wordsize = 0; fp = fopen("dictionary.txt","r");/*contains a list of words in the …

Member Avatar for HadoukenGr
0
134
Member Avatar for ahoysailor

Hi, Is it possible to take the input from a textbox that's in chinese (unicode) and convert it into hex to output to a text file? Any insight would be great, thanks!

Member Avatar for daviddoria
0
215
Member Avatar for mrym

i've some code written as a dll in C++ in Visual Studio 2008. I've to be able to debug it. But i can't load dll in test exe. There isn't any problem on my test exe because when i try to load another dll there isn't any problem. Dll that …

Member Avatar for thines01
0
326
Member Avatar for ankur3000

Hey guys, I need some help regarding a project involving dictionary based language translation. So what I have to do is, given a text in a foreign language (like Hindi), my program should match each word from a 'dictionary like file' and give the output in English, I don't have …

Member Avatar for sergent
0
178
Member Avatar for Virangya

hi, i'm using UTF-8 in my database and when i insert unicode characters directly through database it's all fine. But when i'm inserting through an html form using php it sends some kind of other characters to the database e.g : &#3462;&#3514;&#3540;&#3510;&#3549;&#3520;&#3505;&#3530; how can i solve this...???

Member Avatar for Virangya
0
164
Member Avatar for masterofpuppets

Hello guys, Here's a problem that's giving me a hard time. I am working on a web server in Java and right now I want to enable the user to create a photo album. The user can type the album name in an <input> field in an HTML form. The …

Member Avatar for masterofpuppets
0
165
Member Avatar for Nybuler

Hi all, I got some little problem for Unicode: My Unicode were Chienese world => 你好, 有什么能协助您的吗? When the 1st time i insert it in to database it saved in this form -> "&#20320 &#22909 , &#26377 &#20160 &#20040 &#33021 &#21327 &#21161 &#24744 &#30340 &#21527 &#65311" ( every &# 1234 …

Member Avatar for diafol
0
171
Member Avatar for dboltz03

Hi all, Recently I've run into a problem where a string I am reading from a file is being read in with a nonprinting character appended to the end. The character being appended is U+0020. I'm just unsure how to get rid of this. I know that I could just …

Member Avatar for vijayan121
0
2K
Member Avatar for Dorson8009

I've searched all over for an answer to this, including this forum, so sorry if I missed something, anyway, I'd like to get a numerical code from extended characters like ß or ü and so on. I don't use them very much myself, as I'm a native English language user! …

Member Avatar for Dorson8009
0
162
Member Avatar for cool_jatish

Hello guys... I am working to module need to convert any UNICODE words/ chars that never change with font To their equivalent HTML numeric & JAVA unicode [\u****]. In the JSP the charCodeAt(i) function works but in JAVA no such utility exit ... Plz write with such an suitable example …

Member Avatar for quuba
0
193
Member Avatar for gishi

Hi Guys, I was hoping someone can help me with this. I have a python program that reads and writes files in utf-8(unicode). When I run it in Eclipse, the output is perfectly fine. When I try making an exe file of my program it is not working. I also …

Member Avatar for TrustyTony
0
366

The End.