Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Linux won't edit Jonsson umlauted name
thomas:
Actually, searching Google for "mozilla charset detector" was what we did 4 months ago, thank you :)
This is what "similar to how web browsers do [...] histogram" was supposed to mean.
We're actually looking for something a bit smaller and more manageable than Mozilla. Think of TinyXML (TinyCharsetDetect :)).
Pecan:
--- Quote from: mandrav on May 17, 2006, 03:06:47 pm ---
I 've set it to iso8859-1 and I can edit the AngelScript files just fine...
--- End quote ---
Thanks. I did not know what would be appropriate.
What happens to a submitted patch whose hunk gets rejected because patch cannot understand the encoding?
Is there something I can do to avoid the hunk rejection?
I had to edit, then re-save the as_config.h etc before patch would work.
pecan
takeshimiya:
--- Quote from: thomas on May 17, 2006, 03:25:23 pm ---We're actually looking for something a bit smaller and more manageable than Mozilla.
--- End quote ---
Just something to note, at first I got the impression that one would need to compile the whole (really big) Mozilla suite or at least XPCOM, but actually it is very few files without any dependencies (external nor mozilla), it seems really lightweight, just check the repository.
Here are the instructions to "pretty easy to use universal detector in your own project": http://www.mozilla.org/projects/intl/detectorsrc.html
You'll be writting a C::B wrapper for it, so the actual implementation can be decided later anyways.
btw, the composite approach of Mozilla using code scheme, char distribution and 2-char sequences, is really clever. If we can reuse and wrap it, it will be better time spent, but TinyCharsetDetect doesn't seems bad neither :D
thomas:
--- Quote from: Takeshi Miya on May 17, 2006, 09:44:10 pm ---Here are the instructions to "pretty easy to use universal detector in your own project"
--- End quote ---
Yes, we've been aware of that for many months. It is just that it doesn't help at all. :)
--- Quote ---You'll be writting a C::B wrapper for it, so the actual implementation can be decided later anyways.
--- End quote ---
No, we would not be writing a wrapper, we would have to rewrite a good bit of it to make any senseful use of it. Think about it.
If it were as easy as writing a small C++ wrapper, we'd have done that months ago.
takeshimiya:
--- Quote from: thomas on May 18, 2006, 11:01:37 am ---
--- Quote from: Takeshi Miya on May 17, 2006, 09:44:10 pm ---Here are the instructions to "pretty easy to use universal detector in your own project"
--- End quote ---
Yes, we've been aware of that for many months. It is just that it doesn't help at all. :)
--- Quote ---You'll be writting a C::B wrapper for it, so the actual implementation can be decided later anyways.
--- End quote ---
No, we would not be writing a wrapper, we would have to rewrite a good bit of it to make any senseful use of it. Think about it.
If it were as easy as writing a small C++ wrapper, we'd have done that months ago.
--- End quote ---
No problem if you want/have time to do so. I'll be glad to use it in my own projects too if it doesn't haves more dependencies than wx.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version