49 Topics
|
|
Hi everyone, I'm trying to program a game in C++ using SDL and i want to get peoples names. its not working though, and I'm really confused as to [B]why[/B]. :?: i'm using code like the following: [B]StringInput.h[/B] [CODE] class StringInput { private: std::string str; SDL_Surface *text; int x,y,r,g,b; SDL_Color … |
|
We need to access a MS SQL 2000 database with unicode data in nvarchar fields from PHP (on IIS). Unfortunately PHP's MSSQL does not support this. Unfortunately we cannot use a different driver (like ADODB) - we're stuck with the application (Interspire KM) and can't rewrite it. Is there anyway … |
|
Can anyone help me convert this C# code to C code? with "character" is a string variable and "desired_output_bit" was defined. [CODE]int byteCount = unicode.GetByteCount(character.ToCharArray()); byte[] bytes = new Byte[byteCount]; bytes= unicode.GetBytes(character); BitArray bits = new BitArray( bytes ); System.Collections.IEnumerator bit_enumerator = bits.GetEnumerator(); int bit_array_length = bits.Length; bit_enumerator.Reset (); for(int … |
|
i'm reading a an excel file with xlrd. When i'm running the code a warning pops up: 'WARNING *** format u'"*"' produces constant result ' I think that u'"*"' stands for unicode, is that correct? But what does 'produces constant result' mean and what implications can it have? Thanks |
|
Hi, I am trying to convert a single wchar_t to uppercase. In theory it should work as shown below, in practice it does not. I have no idea what I am doing wrong. Any ideas? Output is: T T ? ? [CODE] #include <locale> #include <string> int main ( ) … |
|
Hi......... Can u tell me SQL query to retrieve UNICODE Strings from the database................... Specifications........ 1] Language JAVA::: a) JAVA SWING applet b) JDBC-ODBC Bridge 2] Database a) MS Access b) Datatype :: TEXT Thanks in advance |
|
I am using Wampserver for my Windows Apache-PHP-MySQL stack. The file accessed has a header that defines it as utf-8, meta tag in HTML also defines it as utf-8. My best guess so far is that it has something to do with Apache. Searching through Google was of little help … |
|
Hi everybody..................... how to read a unicode characters (arabic characters) form ResultSet object which appears after extraction as question marks like this(?????) ................. I want to display the fetched UNICODE word from the database and display it in JTextArea............... but getting the same output..............[??????] If anyone knows method to display … |
|
Hi Everybody............ M programming in JAVA............... I want to display text in JTextArea .... The text to be displayed is [TEX]Unicode words[/TEX] which are stored in the MS Access Database in table and my applet is linked with MSAccess using DSNLess connection.... Any can tell me how to get Unicode … |
|
I have a RSS reader on a web-page and the RSS it receives have links that contain "&" sign in them. For the page to be valid it needs to be changed to "&". I know this sounds stupid and unnecessary but I want to fix them. Attached to this … |
|
Hi, everyone. I am stuck in such a situation: When failing to open a file, of which the name is in Unicode, I need to show the user something like "Can't open file: \My Document\file-name-in-unicode.txt" by throwing an exception . I often use exceptions this way(is this a good way?). … |
|
Completely frustrating - I have been googling for a solution for this for a couple of hours now. I have this little bit of code that I wish to read a text file into a Python Dictionary. I used this dictionary format internally within the another piece of code I … |
|
Hi all I've been trying to find a regular expression that checks if input contains any of the following characters only: `~!@#$%^&*()-=+\|/?.>,<;:'"[{]} I want to allow users to input any normal character a-z or any numbers as well as underscores and any special character that resembles a letter such as … |
|
Hello, I am a training developer in .NET and web 2.0 technologies and this one is an exercise from one of our first lessons in PHP: accessing a MySQL database from a PHP script. The problem I've encountered is that while database is thought to be in Unicode (i.e. the … |
|
hi I am a complete novice and have written the following code and it work as required, with the exeption of the text being in a tidy format when printed. The origDict.txt has been exported in a fixed file format, and I am trying to acheive a fixed file layout … |
|
public class OpenMenuListener implements ActionListener { public void actionPerformed(ActionEvent ev) { if(ev.getSource() == a) { f2 = new JFrame("shashikant verma"); p2 = new JPanel(); f2.getContentPane().add(p2); String str = "<html>"+"<h>"+"<P ALIGN = \"CENTER\">"+"<i>"+"<font size = \"10\">"+"<font color= \"#800080\">"+"CORRECT DEFINITION AND<br>"+"STRUCTURE OF FUNCTION y = f(x) "+"<br>"+"</i>"+"</h>"+"<P ALIGN = \"LEFT\">"+"<font size = … |
|
so I have a script that is taking input from a text file and using it to populate an excel spreadsheet. it keeps giving me a UnicodeDecodeError, dying on the ± symbol, I'm assuming its not in the codec that is being used: im using the xlwt package for writign … |
|
Hello! I'm wondering how to go about packing data from an std::vector<unsigned long> into valid unicode (UTF-8) characters. So far, I've tried writing the unsigned long data directly to a text file, but that usually results in invalid characters. (I don't actually need to store the data in unsigned long … |
The End.