Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 utf8 iframe and mysql caret position

Author  Topic 

SQLapprentice
Starting Member

29 Posts

Posted - 2012-02-20 : 18:55:47
Hi all,

I have a text file saved as utf8 without BOM. I loaded it into MysQL database.
An iframe is loaded with this data from MySQL. I need the caret position in the iframe in order to perform operations in the database. Everytime there's a new line the positions don't match.

For example: caret position 52 in iframe is the first character in a newline, and this letter in MySQL text column corresponds to substr(text,55,1), and the text is exactly the same..

russell
Pyro-ma-ni-yak

5072 Posts

Posted - 2012-02-21 : 13:05:52
As this is a MS SQL Server site, you might try a MySQL site, like this one

Actually, it's a web development issue, not a database one. Try a programming forum for the language you're developing in.
Go to Top of Page
   

- Advertisement -