I tried to look here:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/datatype.htm#i3253
And I understand that I have to provide string length for the column, I'm just not able to find out how many bytes oracle uses when storing a character. My limit is 500 characters, so if its 1 byte / character, I can create the colum...
I'm in search of and useful source of knowledge on Optical/Intelligent Character Recognition, Image and Pattern recognition.
Any books, papers, websites and whatever.
Thanks!
...
hi,
how to get in python from string not one character, but two?
I have:
long_str = 'abcd'
for c in long_str:
print c
and it gives me like
a
b
c
d
but i need to get
ab
cd
I'm new in python.. is there any way?
...
Well I have been able to figure this out but what I want to do is make my string have a new line after 20 chars. I know how to find how many chars the string has but not how to insert environment.newline at 20 chars.
I am using this to find the string length
If string.Length > 20 then
'Need to be able to insert environment.newline at 2...
Hi
As i started programming by jdk6, i had no problem in text components neither in awt nor in swing.
But for labels or titles of awt components, yes :
I couldn't have Farsi characters displayable on AWTs just as simple as Swing by typing them into the source code.
lets check this SSCCE :
import javax.swing.*;
import java.awt.*;
imp...
I have a problem: i can't find the '-' apex character...
i'm writing code on math function: and i want to insert representation like
², ³.
i found that
print '\xb2, \xb3' work good.
now, i have to insert negative numbers at the apex, like :¯².
so, i need the ¯ charachter.
How can i find that?
...
I have a code which has a character that JS is not handling properly.
$(document).ready(function(){
$.getJSON("http://sjama.tumblr.com/api/read/json?callback=?",
function (data){
for (var i=0; i<data.posts.length; i++){
var blog = data.posts[i];
var id = blog.id;
...
Hi all,
I am trying to make a game for the iPhone/iPod Touch. I am somewhat new to iPhone programming and extremely new to iPhone game programming so try to bear with me if this is a stupid question. How to I make my character, a UIImageView, move to the right or left, along the x axis. Just a simple translation across the screen. Th...
Hi,
The current function I use to collect text InputBox can't accept more than 255 characters apparently, and I need to be able to collect more than that? Is there a parameter or different function I can use to increase this limit?
...
Hi,
What is the best way to implement handwritten character recognition in iPhone?
I'm thinking as follows:
First, taking a picture of handwritten character.
Second, recognizing image of handwritten character, and then outputs a text.
...
How can I convert a character into an integer value? For example, I've been trying to read "A" as 1, "B" as 2, and so forth. I tried comparing the character to each letter in the alphabet and return the appropriate value.
int intvalue(char letter)
{
if(letter == "A")
return 1;
else if(letter == "B")
return 2;
else if(letter == "...
The line bellow is as an example of one of many files with wrong character encoding that I have;
REAPRESENTA§AO VIA DTENTRY
The correct presentation should be this:
REAPRESENTAÇAO VIA DTENTRY
There's more characters with wrong encoding. How do I correct this?
...
This question is a simple point (pardon the pun):
What are all the characters that may, when starting a paragraph, be reasonably interpreted as indicating (in the Anglo-saxon demographic) that the paragraph was meant to be a bullet point or a "dash" point.
Here are the ones I would expect, so far:
Bullets
Asterisk: "*",
HTML entity ...
I'm trying to make any '@sometext' an HTML link where 'sometext' is also appended to a url. i.e. '@sometext' becomes a link to 'http://someurl.com/sometext'. But so it can change because the link will be different everytime depending on what 'sometext' is. I'm writing this in javascript and jquery. I'm trying to recreate links similar to...
Hi,
I am trying to convert a decimal integer into hexadecimal. I've done a lot of searching online, and have found many ways to do this. However, every way I found converts to a string; for example, I can convert 100 into "64". That isn't what I need to do. I want to be able to convert 100 into '0x64', which is an entirely different mat...
I am using XSLT to display some   (space) and £ (£) signs but they all come out as question marks (unrecognised characters).
My encoding is set to UTF-8 in the HTML and the XSLT header looks like this
<xsl:stylesheet
version="1.0"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:xs...
I have an XML as input to a Java function that parses it and produces an output. Somewhere in the XML there is the word "stratégie". The output is "stratgie". How should I parse the XML as to get the "é" character as well?
The XML is not produced by myself, I get it as a response from a web service and I am positive that "stratégie" is ...
I have a UILabel with some text, say "Hello World abcdefg" The label can have multiple lines, different font sizes etc.
Question: How do I find the coordinates of all letters "d" in this UILabel.
Logical first step is find the position of those characters in the string (UILabel.text), but then how do I translate that into coordinates w...
If I write to long text for example this:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
The text is going out of the page, I have an idea to fix it, after every 100 characters I could make a <br /> tag. But I don't know how to do it.
Thanks for any help!
...
Simple question (in C++):
How do I convert a character into a string.
So for example I have a string str = "abc";
And I want to extract the first letter, but I want it to be a string
as opposed to a character.
I tried
string firstLetter = str[0] + "";
and
string firstLetter = & str[0];
Neither works. Ideas?
...