Saving HTML characters - fckeditor

Using FCKEditor
We are trying to place the clubs character into the database and bring it back out. The first couple times, the character is saved correctly, but after a couple of edits to the file the html encoding of the clubs character is being lost when saved to the database.
Any ideas?
version 2.3.1

Short answer... updated to newest version and the problem was corrected.

Related

SAP B1 DI-API replaces character on save

I wrote a small c# service importing tarcking numbers to a single UDF separated by a , (comma). The problem is that occasionally (maybe every 200th document) a comma is saved as a semi-colon. A kind of similar issue I have is with the Amazon importer where I add a comment. Maybe with the same frequency, the comment has a whitespace between every single original characters. All in common is that the error cannot be within my code. There is no difference between the correct documents (ca. 95%) and the others.
Does anybody have an idea how i can workaround that these issues don't appear anymore?
Or why this can happen?
I know I have an outdated SAP B1 at version 9.2 PL 10 Hotfix3. DI-API is linked to the install folder. Is this issue fixed in any later version?
(Current workaround is a cron job checking for wrong entries in the db and update those documents. Very uncool)
Definitely sounds like a DI-API bug. If you posted your code it would help confirm this.
Assuming it IS a DI-API bug, I would "dark side" it and just do a regular SQL update (bypass the DI-API), since it's just a UDF and there's probably not any business logic you need SAP to perform on these updates.
Alternatively, you could normalize your data and create a separate table linked via FK to your current table to house a single UDF per row (therefore not having to deal with the weird coma character issue).
As a third alternative, you could make of the SBO Post-Transaction Notification SP to monitor for your error case and perform the "fix" there, intead of in your cron-job.
Disclaimer: I have not worked with SAP in 4+ years.

SQL Server Reporting Studio report showing "ERROR#" or invalid data type error

I struggled with this issue for too long before finally tracking down how to avoid/fix it. It seems like something that should be on StackOverflow for the benefit of others.
I had an SSRS report where the query worked fine and displayed the string results I expected. However, when I tried to add that field to the report, it kept showing "ERROR#". I was eventually able to find a little bit more info:
The Value expression used in [textbox] returned a data type that is
not valid.
But, I knew my data was valid.
Found the answer here.
Basically, it's a problem with caching and you need to delete the ".data" file that is created in the same directory as your report. Some also suggested copying the query/report to a new report, but that appears to be the hard way to achieve the same thing. I deleted the .data file for the report I was having trouble with and it immediately started working as-expected.
After you preview the report, click the refresh button on the report and it will pull the data again creating an updated rdl.data file.
Another solution to this issue is to click Refresh Fields in the Dataset Properties menu.
This will update the list of fields, and force SSRS to get new data, rather than relying on a cached version.

Could my website being UTF-8, and database being Latin1, cause Insert errors?

I am just trying to see if this is the reason for a recent bug:
Values in a certain table are sometimes NOT inserted properly, this seems to have arisen after a change I made to the text-encoding on this website, from ISO-8859-1 to UTF-8 because of text display errors on the website itself. At the time, I did not know this could cause DB errors, but the DB is encoded in Latin1 which I believe is the same as ISO-8859-1.
Could the page with forms, being UTF-8, trying to inserts into a Latin1 db, cause a HARD insertion error for certain queries -- that is, the query fails entirely, as opposed to entering in strange character strings due to encoding mismatch?
EDIT -- I am asking because I cannot myself replicate the insertion bug, I can only observe that it has happened twice to other users. These users do not seem to use special characters in their registration, which adds to the confusion...
Thank you sincerely for your help and time,
-H

Odd issue with filenames with special characters

I'm having a very odd issue.
I have 2 servers and one of them isn't showing images/files with special characters on it. That's a Plesk/Apache server.
See here:
http://leita.gardplontur.is/pics/450/Ajuga%20reptans%20Multicolor%20-%20Dvergavör_GH.jpg
This one works just fine, but when i move it to the second server it's not displaying the file..
http://gard.verksmidjan.is/plontuleit/450/Ajuga%20reptans%20Multicolor%20-%20Dvergavör_GH.jpg
Any help on this issue is well appreciated.
Thanks!

SSRS 2005: How do I make available varbinary data for download in a report?

SSRS newbie question here...
I have a table where one column is varbinary(max) data. I would like to make a report that makes this data available for download as a hyperlink so the user can just click on the item and get a file download dialog for the binary data. In this particular case, the binary data happens to be the content of old pdf files, but that shouldn't matter.
I tried searching around but I can't find any pointers on how to do this. It seems to me that it should be possible. There are ways to display images in a report using varbinary data, so it makes sense that one should be able to make arbitrary binary data downloadable on a report, right?
No, it is not possible as far as I can tell. Don't see anyway to do this.
The work-around that I used was to create a simple asp.net page to serve the binary content through some URL. I then hyperlinked to that page from the SSRS report giving the right variables in the URL. Works fine for me, YMMV if you have to worry about URL hacking or security issues.