C# Video Converter library
Hi, I am looking for a C# library(not commandline), commerical or free, that has the power similar to FFempeg. Video encoding is most important. Any suggestions? Best Regards, Rune ...
Hi, I am looking for a C# library(not commandline), commerical or free, that has the power similar to FFempeg. Video encoding is most important. Any suggestions? Best Regards, Rune ...
how are non-english programming/scripting languages developed ? do you need to be a computer scientist ? ...
I have the following string read from an XML elememnt, and it is assigned to a variable called filename. I don't know how to make this any clearer as saying filename = the following string, without leading someone to think that I have a string literal then. \\server\data\uploads\0224.1307.Varallo.mov when I try and pass this to os.p...
Hi! I am developing a Web and want that the user could create some stuff POSTing xml data. For that propose there is a < textarea > where the user can write (copy/paste) xml and submit it. The problem is that I am loosing data, characters such as '<','>' and i think others too get lost. Maybe it is a framework problem, not sure, I am u...
I need to encode a Java String to display properly as part of an HTML document, e.g. all new lines or tab characters. So I have e.g. "one\ntwo", and I want to get something like "one<br>two". Do you know any library that would do it for me? ...
I am in the U.S. I have the following line in my web page: <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> And my MYSQL table is MyISAM latin1_swedish_ci But when someone fills out a form with a foreign character it gets stored in MySql as garbage. An example would be an e with accent over it, etc. - something...
Hey everyone, I have a security related question. My web application allows users to input URLs. The URL is immediately stored in the database (no santization at this point. Is this wrong?). I'm using Linq to SQL so it's already parameterized. When displaying the hyperlink back to the user, I'm using a repeater. Do I need to encode the...
This is sort of a follow-up to http://stackoverflow.com/questions/2329395/why-are-my-cookies-containing-json-occasionally-malformed, which we have resolved. I have a 3-value cookie, and we're url encoding the main value. The other two values are a timestamp and a hash. It looks like this in our response header: foo=d=634027688530013...
I have an aspnet webapp which has worked very well up until now. I was recently asked to explore ways of making it scale better. I found that seperation of database and Webapp would help. Further I was told that if I changed my session providing mechanism to SQLServer, I would be able to duplicate the Web Stack to several machines ...
I'm developing a game for windows for learning purposes (I'm learning DirectX). I would like it to have UTF support. Reading this question I learned that windows uses wchar_t, which is UTF-16. I want my game to have Lua scripting support, and Lua doesn't really like Unicode much.. It simply treats strings as a "stream of bytes"; this wo...
It seems that every time I think I mastered encoding, I find something new to puzzle me :-) I'm trying to get rid of French accents from an UTF-8 string: >>> import unicodedata >>> s = u"éèêàùçÇ" >>> print(unicodedata.normalize('NFKD', s).encode('ascii','ignore')) I expected eeeaucC as an output and got instead AA AaA A1AA using Py...
What are some best pratices associated with use of IRIs to prevent character missrepresentation, spoofing, or character injection? ...
I'm starting out with some XML that looks like this (simplified): <?xml version="1.0" encoding="UTF-8"?> <alldata> <data name="Forsetì" /> </alldata> </xml> But after I've parsed it with simplexml_load_string the special character (the i) becomes: ì which is obviously pretty mangled. Is there a way to prevent this from happening?...
I am attempting to reverse engineer an LZ1/LZ77 decompression algorithm. The length of an area of the decode buffer/window to be output is encoded in the file as a variable length integer. I've read as much as I can about variable length integer encoding and the method being used in this case does not appear to be like any others I ha...
Hello Guys, My company has php scripts with texts in different languages (including french, german, spanish, italian and english). Developers decided to use Latin-1 encoding as base for everyone, so this way nobody will override file encoding and corrupt foreign languages in it. (At first some developers used html entities, but this w...
I used iconv to convert from latin1 to utf8 when I did an mysql dump of a database from mysql v4.0.21, and imported it onto a new server mysql v5.0.45 It was latin1 on the old server, it’s utf8 on the new server, so I ran this on the mysql dump: iconv −f latin1 −t UTF−8 quickwebcms_2010-03-01.sql It ran successful, then I imported it o...
I need to perform a conversion of characters from UTF-8 to ISO-8859-1 in Java without losing for example all of the UTF-8 specific punctuation. Ideally would like these to be converted to equivalents in ISO (e.g. there are probably 5 different single quotes in UTF-8 and would like them all converted to ISO single quote character). Str...
Hello, I'm trying to use UTF-8 encoding for the Spring application I'm developing but I have problems in getting the correct encoding when inserting attributes from tiles. I have this fragment in my JSP template: <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title><tiles:getAsString name="title"...
I have encountered a weird situation while updating/upgrading some legacy code. I have a variable which contains HTML. Before I can output it, it has to be filled with lots of data. In essence, I have the following: for my $line (@lines) { $output = loadstuff($line, $output); } Inside of loadstuff(), there is the following sub ...