Re: Weird issue with SOLR and cfindex - it won't index more than 10k rows

2013-02-27 Thread Edward Chanter
Thanks for the insight James, I will definitely try that out. On 26 February 2013 23:40, James Mc jimmyma...@gmail.com wrote: The 10k records entry is only for autocommit which means that as soon as your collections reaches 10k uncommitted docs it will commit them and then start queuing up

Re: cfc WSDL is cached and won't let go

2013-02-27 Thread Dale Western
I had this problem and it turned out that the cfcomponent displayname must be different to the name of the webservice. So if you have myWebService.cfc?wsdl and inside it cfcomponent displayname=myWebService output=false then boom! doing this sorts the problem cfcomponent

Re: cfc WSDL is cached and won't let go

2013-02-27 Thread Dale Western
I had this problem and it turned out that the cfcomponent displayname must be different to the name of the webservice. So if you have myWebService.cfc?wsdl and inside it cfcomponent displayname=myWebService output=false then boom! doing this sorts the problem cfcomponent

Localization , French Accents...

2013-02-27 Thread Brook Davies
I am trying to read in a number of text files that contain translations (using French in this example) and store them in my applications app scope. The file I am reading in looks like this: http://screencast.com/t/DZTv3iVrbyo When I dump the results from reading in the file, or try to use them

Re: Localization , French Accents...

2013-02-27 Thread Akos Fortagh
Not sure if this helps and depends what you're trying to do with the text, if you want to output them to a page, putting this at the top of the .cfm page should help. cfprocessingdirective pageEncoding = utf-8 I had problems displaying foreign characters until I included the above on the

Re: Localization , French Accents...

2013-02-27 Thread Bobby
My first guess is that it is happening when the file is read in. Was it saved as unicode? I think notepad lets you do that. If not, notepad++ does. On 2/27/13 12:52 PM, Brook Davies cft...@logiforms.com wrote: I am trying to read in a number of text files that contain translations (using

know this Oracle JDBC error? Message 1018 not found

2013-02-27 Thread Chris
Does anybody know what this error is? Not getting any help Googling. [Macromedia][Oracle JDBC Driver](Internal Error) Message 1018 not found It happened after a request with 2 queries ran for a very long time (basically, the query is hung and the ColdFusion request is frozen). -

Decrypting a string which was encrypted by C# doesn't handle extended ascii

2013-02-27 Thread Bert Dawson
Hi I need to decrypt a string which was originally encrypted in C#. It works fine for normal ascii strings, but not with extended ascii characters, e.g. the ö in Citroën. It returns the unrepresentable character 65533 This is the code that was used for the encryption:

Re: cfc WSDL is cached and won't let go

2013-02-27 Thread Raymond Camden
Can you file a bug report for that please? https://bugbase.adobe.com/ On Wed, Feb 27, 2013 at 7:55 AM, Dale Western dale.west...@columbusdirect.com wrote: I had this problem and it turned out that the cfcomponent displayname must be different to the name of the webservice. So if you

Re: Decrypting a string which was encrypted by C# doesn't handle extended ascii

2013-02-27 Thread Mark Drew
Maybe this would help? http://stackoverflow.com/questions/10247896/aes-rijndael-encrypt-between-c-and-java Regards Mark Drew On 27 Feb 2013, at 16:18, Bert Dawson bert...@gmail.com wrote: Hi I need to decrypt a string which was originally encrypted in C#. It works fine for normal

RE: Localization , French Accents...

2013-02-27 Thread Brook Davies
Should I be saving it in Unicode or UTF-8? -Original Message- From: Bobby [mailto:bo...@acoderslife.com] Sent: February-27-13 11:01 AM To: cf-talk Subject: Re: Localization , French Accents... My first guess is that it is happening when the file is read in. Was it saved as unicode? I

Re: Localization , French Accents...

2013-02-27 Thread Bobby
UTF-8 should do it. On 2/27/13 3:00 PM, Brook Davies cft...@logiforms.com wrote: Should I be saving it in Unicode or UTF-8? -Original Message- From: Bobby [mailto:bo...@acoderslife.com] Sent: February-27-13 11:01 AM To: cf-talk Subject: Re: Localization , French Accents... My first

RE: Localization , French Accents...

2013-02-27 Thread Brook Davies
Sorry, Unicode/utf-8 are the same thing...my mistake.. -Original Message- From: Bobby [mailto:bo...@acoderslife.com] Sent: February-27-13 11:01 AM To: cf-talk Subject: Re: Localization , French Accents... My first guess is that it is happening when the file is read in. Was it saved as

Re: Decrypting a string which was encrypted by C# doesn't handle extended ascii

2013-02-27 Thread Leigh
This is the code that was used for the encryption: What is the code for RijndaelDecrypt/RijndaelEncrypt? -Leigh ~| Order the Adobe Coldfusion Anthology now!

RE: EXF Photo Information

2013-02-27 Thread Jenny Gavin-Wear
Hi Justin, It's great to see this in CF8, but unfortunately it doesn't provide all the metadata I would need, If you have ever used Photoshop or Lightroom, you can edit the File Info. This means the photog can add a lot of information to the image, such as Description, keywords, copyright, etc.

RE: EXF Photo Information

2013-02-27 Thread Jenny Gavin-Wear
Hi Paul, My skills are purely in CF, I'm not a programmer as such. Is there a simple way I can go about using this java lib, please? I can use a bit of Javascript, would this be enough? Many thanks, Jenny -Original Message- From: Paul Hastings [mailto:p...@sustainablegis.com] Sent:

Re: Decrypting a string which was encrypted by C# doesn't handle extended ascii

2013-02-27 Thread Leigh
a string which was originally encrypted in C#. It works Oh wait...it looks like an encoding difference. CF's encrypt/decrypt functions always use UTF-8. Based on the results, those custom c# methods are using Encoding.Unicode, which is different.  You need to use the same encoding ie

RE: Localization , French Accents...

2013-02-27 Thread Brook Davies
Bobby, thanks for the notepad+ idea - it was the encoding on the source file -Original Message- From: Bobby [mailto:bo...@acoderslife.com] Sent: February-27-13 12:05 PM To: cf-talk Subject: Re: Localization , French Accents... UTF-8 should do it. On 2/27/13 3:00 PM, Brook Davies

Re: Localization , French Accents...

2013-02-27 Thread Bobby
Any time. Glad it's worked out. On 2/27/13 3:56 PM, Brook Davies cft...@logiforms.com wrote: Bobby, thanks for the notepad+ idea - it was the encoding on the source file -Original Message- From: Bobby [mailto:bo...@acoderslife.com] Sent: February-27-13 12:05 PM To: cf-talk

RE: EXF Photo Information

2013-02-27 Thread Russ Michaels
Try imagemagick, this does a lot more than cfimage and uses java library Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Feb 27, 2013 8:39 PM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: Hi

Re: Decrypting a string which was encrypted by C# doesn't handle extended ascii

2013-02-27 Thread Bert Dawson
Thanks Mark and Leigh. Leigh, that did the trick. Cheers Bert On 27 February 2013 14:48, Leigh cfsearch...@yahoo.com wrote: a string which was originally encrypted in C#. It works Oh wait...it looks like an encoding difference. CF's encrypt/decrypt functions always use UTF-8. Based on

Re: EXF Photo Information

2013-02-27 Thread Justin Scott
It's great to see this in CF8, but unfortunately it doesn't provide all the metadata I would need, If you have ever used Photoshop or Lightroom, you can edit the File Info. This means the photog can add a lot of information to the image, such as Description, keywords, copyright, etc. When

Re: Localization , French Accents...

2013-02-27 Thread Paul Hastings
On 2/28/2013 3:05 AM, Brook Davies wrote: Sorry, Unicode/utf-8 are the same thing...my mistake.. they're not the same thing. unicode is a *standard* (the unicode consortium produces a book the unicode standard). utf-8 (UCS Transformation Format 8 bit) is one *encoding* implementing that

Re: EXF Photo Information

2013-02-27 Thread Paul Hastings
On 2/27/2013 9:51 PM, Jenny Gavin-Wear wrote: My skills are purely in CF, I'm not a programmer as such. Is there a simple not a programmer? so what does that make the rest of us? chopped liver? way I can go about using this java lib, please? 1) download the jar file 2) stick it on the cf

Re: EXF Photo Information

2013-02-27 Thread Paul Hastings
oops, that code was for cf10 used some undocumented stuff. this might work better for cf7. cfscript // path to image on server path=c:\cyclingTrips\khlong13\coffinService.jpg; // lib wants java IO file so... imgFile=createObject(java,java.io.File).init(path);

Re: Localization , French Accents...

2013-02-27 Thread Adam Cameron
Just a note on this: the cfprocessingdirective tag used in this way simply tells the CF compiler to treat *that file* as UTF-8 when it's compiled. IE: if the file itself has UTF-8-encoded text within it, the compiler will respect that when the CFML is compiled. It has no bearing at all on

RE: EXF Photo Information

2013-02-27 Thread Jenny Gavin-Wear
Hi Paul, Many thanks indeed. I can see the general idea of your code, but it is way beyond me. Would it be very easy to create a cf tag from this that would take an image and output the exif data, etc? Thanks again, Jenny -Original Message- From: Paul Hastings

RE: EXF Photo Information

2013-02-27 Thread Jenny Gavin-Wear
Hi Russ, Imagemagick is great, I've been using it for many years. Unfortunately all it does in relation to exif is use it to rotate an image correctly. Many thanks, Jenny -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: 27 February 2013 22:05 To: cf-talk

RE: EXF Photo Information

2013-02-27 Thread Jenny Gavin-Wear
Hi Justin, Not looking to spend on a CF upgrade over one site :) Upgrades are far too expensive, imo. Thanks, Jenny -Original Message- From: Justin Scott [mailto:leviat...@darktech.org] Sent: 27 February 2013 22:40 To: cf-talk Subject: Re: EXF Photo Information It's great to see

Re: EXF Photo Information

2013-02-27 Thread Paul Hastings
On 2/28/2013 10:57 AM, Jenny Gavin-Wear wrote: Would it be very easy to create a cf tag from this that would take an image and output the exif data, etc? yes i guess it would be very easy. ~| Order the Adobe Coldfusion

Re: EXF Photo Information

2013-02-27 Thread Justin Scott
Not looking to spend on a CF upgrade over one site :) I'd normally say there's always Railo it cost is an issue, but it looks like Railo has implemented imageGetEXIFMetaData() but not imageGetIPTCMetaData() (it's not listed in their documentation, haven't actually tested code on Railo to

Re: EXF Photo Information

2013-02-27 Thread AJ Mercer
Railo 4 is now using Sanselan library http://commons.apache.org/proper/commons-imaging//index.html From the Railo team With Railo 4 we decided to switch the library used to handle images, but the lib is only halfway used ATM On 28 February 2013 14:04, Justin Scott