LR 2 - special character in caption field

I'm using LR 2.6 and a custom template to generate a flash gallery.
The problem is my language which is Norwegian and contains characters like æøå and these behave strange when creating a web gallery.
In the library the caption field looks ok, but when exported to web, they make an extra whitespace and that's annoying.
I've looked into the xml file and can't see any whitespace there, so probably the problem appears when the swf file is created.
How do I control the output in the caption field when using special characters?
I've tried to change the encoding in the group.xml file, but it doesn't help. Also tried using entities for the characters such as å and å, it didn't help either.
//kfinsrud

Hi 
Refer this link
http://social.technet.microsoft.com/Forums/office/en-US/6e7a7eae-26fc-467f-bfdc-7c5d5ff49a95/discussion-forum-storing-special-character-in-title-differently?forum=sharepointdevelopmentlegacy
It seems that SharePoint will allow the Title of the discussion board to remain with the special characters, but the actual URL will not be allowed and will strip them from the final URL.  SharePoint Manager easily shows this, btw.
So, there are probably many different ways to get what you are looking for, but one way could be to have a Linq query look for all Discussion Boards on a given site and then return the Title and the DefaultViewUrl, which the latter could then be prefixed by
the SPWeb.Url to give you something like "Testing? , /" for the title and http://mysite/Lists/Testing/AllItems.aspx (assuming
that is the actual default view) which you could then use as the final URL for your hyperlink in your web part.
In the code snippet below you can see the Linq query (which I assumed from your post that you need to query to find the Discussion Boards) and a simple DataTable that you could then use to populate a repeater or you just omit the DataTable and
enumerate the results from the query yourself:
var linqResults
= from list in oSPWeb.Lists.Cast<SPList>() where list.BaseTemplate
== SPListTemplateType.DiscussionBoardselect list;
DataTable oDataTable
= new DataTable();
DataColumn oDataColumn_Title
= new DataColumn("Title", typeof(string));
oDataTable.Columns.Add(oDataColumn_Title);
DataColumn oDataColumn_URL
= new DataColumn("URL", typeof(string));
oDataTable.Columns.Add(oDataColumn_URL);
foreach (SPList oSPList in linqResults)
DataRow oDataRow
= oDataTable.NewRow();
oDataRow[
"Title"]
= oSPList.Title.ToString();
oDataRow[
"URL"]
= oSPWeb.Url + oSPList.DefaultViewUrl.ToString();
oDataTable.Rows.Add(oDataRow);
oDataTable.AcceptChanges();
Please remember to click 'Mark as Answer' on the answer if it helps you

Similar Messages

  • Special Character in Subject Field of Discussion Forum

    I am creating a new discussion, in the subject when i enter "Portal Discussion?" then it gives error that special character is not allowed. But i want to use the "?" in the subject at the time of creation.
    After creating the discussion i can edit the same thing with special characters, then why SharePoint is not allowing to enter special character at the time of creation.

    Hi 
    Refer this link
    http://social.technet.microsoft.com/Forums/office/en-US/6e7a7eae-26fc-467f-bfdc-7c5d5ff49a95/discussion-forum-storing-special-character-in-title-differently?forum=sharepointdevelopmentlegacy
    It seems that SharePoint will allow the Title of the discussion board to remain with the special characters, but the actual URL will not be allowed and will strip them from the final URL.  SharePoint Manager easily shows this, btw.
    So, there are probably many different ways to get what you are looking for, but one way could be to have a Linq query look for all Discussion Boards on a given site and then return the Title and the DefaultViewUrl, which the latter could then be prefixed by
    the SPWeb.Url to give you something like "Testing? , /" for the title and http://mysite/Lists/Testing/AllItems.aspx (assuming
    that is the actual default view) which you could then use as the final URL for your hyperlink in your web part.
    In the code snippet below you can see the Linq query (which I assumed from your post that you need to query to find the Discussion Boards) and a simple DataTable that you could then use to populate a repeater or you just omit the DataTable and
    enumerate the results from the query yourself:
    var linqResults
    = from list in oSPWeb.Lists.Cast<SPList>() where list.BaseTemplate
    == SPListTemplateType.DiscussionBoardselect list;
    DataTable oDataTable
    = new DataTable();
    DataColumn oDataColumn_Title
    = new DataColumn("Title", typeof(string));
    oDataTable.Columns.Add(oDataColumn_Title);
    DataColumn oDataColumn_URL
    = new DataColumn("URL", typeof(string));
    oDataTable.Columns.Add(oDataColumn_URL);
    foreach (SPList oSPList in linqResults)
    DataRow oDataRow
    = oDataTable.NewRow();
    oDataRow[
    "Title"]
    = oSPList.Title.ToString();
    oDataRow[
    "URL"]
    = oSPWeb.Url + oSPList.DefaultViewUrl.ToString();
    oDataTable.Rows.Add(oDataRow);
    oDataTable.AcceptChanges();
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • YouTube app don't accept special character like '&' in field password

    Like the subject... I link my YouTube account with Google account and when i login i get incorrect login. I change my Google password deleting character '&' and now login work. Please fix this bug.
    Thank's

    It'a know bug? Or doesn't work only for me???

  • How to discard the special character from field-Table.

    Hi
    In my data i am having a lot of SPECIAL CHARACTER also involved, I want to display only the consumer name (PURELY), is there any method/function module to discard the special character and display only the A-Z character as stored in DB.
    Gaurav

    if itab-field CA 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    or
    if itab-field CP 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.
    then do ur else calculation.
    else.
    delete itab.
    Edited by: tahir naqqash on Feb 17, 2009 4:27 PM
    Edited by: tahir naqqash on Feb 17, 2009 5:21 PM

  • HOW WE CAN VALIDATE A FIELD THAT SHOULD NOT BE SPECIAL CHARACTER?

    HOW WE CAN VALIDATE A FIELD THAT SHOULD NOT BE SPECIAL CHARACTER?

    data : v_abcde like sy-abcde,
             v_num like '0123456789',
              v_data(60) type c.
    start-of-selection.
    v_abcde = sy-abcde.
    concatenate v_abcde v_num into v_data.
    if ur field co v_data
    else.
    message.
    endif.

  • Error while releasing transport request -  Special character "_" in generic

    Hi all,
    we're receiving the error  Special character "_" in generic key  when releasing a best practice transport.
    Note 1304725 describes my error, but the solution cannot be implemented. The reason for this is that we do not have an individual entry for eacht yb_PS,..,
    but we have only one entry where field BWERT has a wildcard '*' as entry.
    Does anyone has  some idea how to solve this ?
    kind regards !

    Hello Bjorn,
    How did you get this solved?
    I'm having nearly the same issue:
    A custom-table with a total key lenght of about 365 characters. As soon as I enter a special character (_) in the key field just before the position 120, the message tk287 rejects the entry. Entering the special character in a key field at about key position
    60, there's no message rejecting the entry.
    Regards

  • Error "TK287" when releasing a request - Special character "_" is invalid.

    I have some tables in Solution Manager and having some warnings:
    Table: CRM_SVY_DB_ST
    Field value:CRM_SVY_GENERATE_BSP_TEMPLATE.XSLT
    Field: TRANSFORMATIONID
    It doesn´t accept the special character "_"
    Below the error when releasing and the explanation of the error in the sequence.
    Key messages: TABU CRM_SVY_DB_ST 300DSWPCI_ISSUE_FDBCK 0000000000DCRM_               
    Special character "_" in generic key                                                                               
    Key messages: TABU CRM_SVY_DB_ST 300DSWPCI_ISSUE_FDBCK 0000000000DCRM_               
    Special character "_" in generic key                                                                               
    Key messages: TABU CRM_SVY_DB_ST 300DSWPCI_ISSUE_FDBCK 0000000000DCRM_               
    Special character "_" in generic key                                                                               
    Key messages: TABU CRM_SVY_DB_ST 300DSWPCI_SERVICE_FDBCK 0000000000DCRM_             
    Special character "_" in generic key                                                                               
    Key messages: TABU CRM_SVY_DB_ST 300DSWPCI_SERVICE_FDBCK 0000000000DCRM_             
    Special character "_" in generic key                                                 
    Explanation of the error:
    Special character "_" in generic key
    Message no. TK287
    Diagnosis
    The generic key 300DSWPCI_ISSUE_FDBCK 0000000000DCRM_ was entered for the object CRM_SVY_DB_ST. All keys that match up to the asterisk are to be transported.
    The key cannot have any special characters before the asterisk, since they are interpreted in different ways by different database systems.
    The key contains the special character _.
    System Response
    The entry is rejected.
    Procedure
    Extend the generic entry, or specify all keys individually.

    Hi,
    Go through SAP note 711103 & 688363.
    Regards,
    Sachin Rane.
    Edited by: Sachin Rane on Mar 12, 2009 2:48 PM

  • Special character in some of the employee records

    Hi,
    I have found special character in some of the employee records which is causing some reports to error out. Our instance is configured for English language and these special characters are unrecognized by the application. I have attached some employee names with the special character below.
    Request you to please look into this and reply ASAP.
    ===
    Employee Number      Full Name
    1278     M_ü_ller-Seydlitz, Mrs Hilda Suzanne
    1009     Evas, Mrs Sîan* Elynda
    ===
    Regards
    Parvathi Arun
    +919840861075
    [email protected]

    first you need to create a database function like the one below.
    the query to identify those records is then the below:
    select full_name from per_people_x
    where is_not_valid_text(full_name) = 'N'
    you can use the function also to verify other fields like addresses and so on.
    the corrective action according to me should be a manual one, meaning open the form and update the names not compliant.
    thanks
    regards
    create or replace
    function is_not_valid_text (p_text in varchar2) return varchar2 is
    v_is_valid varchar2(100) := 'Y';
    v_length number := length(p_text);
    begin
    for i in 1 .. v_length loop
    if not ( -- allowed char
    ascii(substr(p_text, i, 1)) between 65 and 90 -- from A to Z
    or ascii(substr(p_text, i, 1)) between 97 and 122 -- from a to z
    or ascii(substr(p_text, i, 1)) = 32
    or ascii(substr(p_text, i, 1)) = 46
    ) then
    v_is_valid := 'N';
    exit;
    end if;
    end loop;
    return v_is_valid;
    end is_not_valid_text;
    Edited by: Giuseppe Bonavita on 10-Dec-2012 11:43

  • Table Maintainence generator Error Special Character '_' in generic key

    Hello,
    I have created a Table which contain 6 fields. All the fields of the table are primary key. The combined length of all the primary key is 163 characters. In the activation Log of the table we have a warning message which states "Key length > 120 (Restricted functionality)". Initially we are able maintain the entries using SM30. BUt now when we are making the entreis in the table an error message comes. The error is Special character "_" in generic key.and we are not able to save the entries.
    I have deleted the table maintainence generator and have regenerated it. But the same error is coming.
    Please provide your suggestion.
    Thanks,
    Mohit

    Please provide your suggestions
    Thanks,
    Mohit

  • Special character issue/ encoding of characters

    Hi All,
    My scenario is-
    IDoc -> Soap lookup-> soap lookup----> Jdbc
    here I am using 3 mappings inside the same operation mapping. I am sending Idoc from ECC and doing a lookup using SOAP twice and updating a table.
    now the problem is that when I am sending the Idoc having values some special characters the first mapping executed successfully but the when it is doing the lookup ( first SOAP call) it is failing to return proper and correct values, it is returning the values as  "SAX" and when I checked the soap adapter used for lookup it is in error for SAX parsing  with the below error text-
    Invalid byte 1 of 1-byte UTF-8 sequence.
    I have tried to use one java mapping to transform the encoding from ISO-8859-1 to UTF-8 and other way around and also even tried using the standard soap adapter module-  XMBWS.XMLEncoding as ISO-8859-1 but did not work.
    for e.g -  if IDoc contains character  Ñ in any field it is not calling the SOAP call properly and returning the values as SAX and adapter is erroring out as  mentioned above.
    Please advise.
    Thanks
    Vineet

    When you use an UDF and you have programmed a Sax parser, then make sure, that the parser works with the correct encoding. So when the result of the webservice is  ISO-8859-1, then assign this to the parser.
    In principle the encoding should be part of XML header. Make sure that the encoding of the response is the same as declared in XML header.

  • Special character in interactive report using filter

    Hi,
    I created an interactive report and in this report there is a filter to search any row from specific value linked to a specific column.
    As example this report displays a board with some columns like "SR number", "Status", "Description", ....
    If I use this filter with standard character all works fine :
    - in the filter's list of values I choose "Region" column
    - in the search field I put "SE"
    - click on go and the board is generated with all correct rows.
    If I use this filter with special character (french character in my case), this filter changes this special character and the request doesn't return any row.
    Example :
    - in the filter's list of values I choose "Statut" column
    - in the search field I put "Réception"
    - the filter's expression is modified from "Réception" to "Réception" so no row is returned (filter - Statut contains 'Réception' - no data found)
    I modified the character set used by the apex DAD changing the nls_lang parameter in the wdbsvr.app file from AMERICAN_AMERICA.WE8ISO8859P1 (database character set) to AMERICAN_AMERICA.AL32UTF8
    But when I check the apex DAD character set after the web server restart (about Application Express in my workspace) I get :
    NLS_CHARACTERSET: WE8ISO8859P1
    DAD CHARACTERSET: ISO-8859-1
    No change.
    I used the Application Express 3.2.0.00.27 with Oracle E-business Suite (11.5.10.2).
    Any help will be appreciated.
    Best regards,
    Olivier
    Edited by: oll on 1 mars 2010 20:57
    Edited by: oll on 15 mars 2010 21:17

    Hi,
    Thank you for your answer.
    But I already installed french language on apex.
    Unfortunately issue occurs yet.
    To install the french language I followed these steps :
    - I set the NLS_LANG to American_America.AL32UTF8
    - sqlplus sys/**** as sysdba
    - ALTER SESSION SET CURRENT_SCHEMA = APEX_030200;
    - and I executed the load_fr.sql script
    Thank you for your help.
    Best regards,
    Olivier

  • Special Character to convert to Space

    I have a field in BI "zpustreg" which has values with - and # which is not allowing me to load the data to cube so I am writing this code in transformation to convert any special character to space. but it is having error if you can help me fix the code below would really appreciate it
    Abap Code to Load ZPUSTREG
    METHOD compute_ZPUSTREG.
    IMPORTING
    request type rsrequest
    datapackid type rsdatapid
    SOURCE_FIELDS-/BIC/ZPUSTREG TYPE /BIC/OIZCUSTREG
    EXPORTING
    RESULT type tys_TG_1-/BIC/ZPUSTREG
    DATA:
    MONITOR_REC TYPE rsmonitor.
    $$ begin of routine - insert your code only below this line -
    ... "insert your code here
    *DATA:Monitor_REC TYPE rsmonitor.
    DATA:L_D_OFFSET LIKE sy-index.
    CONSTANTS:c_allowed(60) TYPE c.
    Value `ABCDEFGHIJKLMNOPQRSTUVWXYZ!"%&'()*+,-/:;<=>?_0123456789_’.
    RESULT = SOURCE_FIELDS-/BIC/ZPUSTREG
    TRANSLATE RESULT TO UPPER CASE
    DO 60 TIMES.
    L_d_offset = sy-index – 1.
    IF RESULT+1_offset(1) CO c_allowed.
    Else.
    RESULT+1_d_offset(1) = ` ’.
    ENDIF.
    ENDDO.
    ENDMETHOD.
    E:Statement "VALUE" is not defined. Check your spelling. spelling.
    E:Unable to interpret "C". Possible causes of error: Incorrect spelling
    Thanks
    Soniya

    Also, you'll need to change in this line:
    RESULT+1_d_offset(1) = ` ’.
    the ` for a  ’
    Have you maintained the RSKC transaction? If you put ALL_CAPITAL there it should allow you to use those characters.
    Regards,
    Diego

  • Biztalk error if "&" special character is used from Oracle Database

    There is an error when system was received data form Oracle database. The data format is including "&"....etc special character. Becuase of the error appear between Oracle database and receive port. I can't do anything in Biztalk program to
    encode the message. Does any way to do encoding when biztalk receive data?
    xlang/s engine event log entry: Uncaught exception (see the 'inner exception' below) has suspended an instance of service 'ECT.TOSToEDB.orcWorkingTable(7e2c77ec-adb6-5790-29ad-835ec8374c1d)'.
    The service instance will remain suspended until administratively resumed or terminated.
    If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.
    InstanceId: 8eb4cb36-82b2-4d34-9b45-64b8aba23758
    Shape name:
    ShapeId: 09bc980e-3040-4238-a838-f3606294effe
    Exception thrown from: segment 1, progress 84 Inner exception: An error occurred while parsing EntityName. Line 4, position 112.
    Exception type: XmlException
    Source: System.Xml
    Target Site: Void Throw(System.Exception) The following is a stack trace that identifies the location where the exception occured
       at System.Xml.XmlTextReaderImpl.Throw(Exception e)
       at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
       at System.Xml.XmlTextReaderImpl.ParseEntityName()
       at System.Xml.XmlTextReaderImpl.ParseEntityReference()
       at System.Xml.XmlTextReaderImpl.Read()
       at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
       at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
       at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
       at System.Xml.XmlDocument.Load(XmlReader reader)
       at System.Xml.XmlDocument.LoadXml(String xml)
       at ECT.TOSToEDB.orcWokingTableCheck.segment1(StopConditions stopOn)
       at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)
    For more information, see Help and Support Center at
    http://go.microsoft.com/fwlink/events.asp.

    There are 5 special characters which in xml   & < > "  '  if the Oracle fields contain any of those characters it will cause invaild xml.
    This can be solved at the oracle side be replacing the special characters by it's  html encode equivalent, so  & becomes &amp; , I think the best way to solve it
    is to make a custom pipeline component and translate the special characters there.
    There is my Send Port Properties. Do you mean the default biztalk pipeline component ("XML Receive") cannot translate any special characters?

  • How do I get Special character Euro symbol € to display ?

    Hi,
    How do I get the euro symbol € to display in Flash from
    PHP file created in DW ?. It does not display it properly. I have
    simplified the PHP code I have is:
    <?php
    $msgtoflash = "This is the Euro Symbol &#8364";
    print ("&Databaseinfo=$msgtoflash");
    ?>
    The &#8364 is a special character code for HTML.
    If I use the $ or £ symbols it works perfectly but not
    € ?
    Thanks,
    Paul

    maith wrote:
    > Im using Actionscript2. I had placed a query in Flash in
    "General
    > Discussions", before I came on the Dreamweaver Forum,
    but got no reply.
    The way to get the euro symbol to display in Flash is to use
    XML. I have
    tested this, and it works:
    euro.php
    <?php
    header('Content-type: text/xml');
    echo '<root>
    <elem>This is the euro symbol:
    &#8364;</elem>
    </root>';
    ?>
    ActionScript 2.0 to display the value of <elem> in a
    dynamic text field
    called myText:
    var myXML:XML = new XML();
    myXML.ignoreWhite = true;
    myXML.onLoad = handleLoad;
    myXML.load('
    http://localhost/test/euro.php');
    function handleLoad(success) {
    if (success) {
    var theRoot:XMLNode = this.firstChild;
    myText.text = theRoot.firstChild.firstChild.nodeValue;
    } else {
    myText.text = 'Not working :(';
    Handling XML in ActionScript 2.0 is like poking needles in
    your eyes,
    but it's the only way I have been able to get the euro symbol
    from an
    external source into a Flash movie.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • A special character in the last column in my external table

    Hello,
    I'v made a external table that looks like this :
    CREATE
    TABLE "REC_XLS"
    "FINANCE_DATE" VARCHAR2(50 BYTE),
    "CREATION_DATE" VARCHAR2(50 BYTE),
    "SENT_DATE" VARCHAR2(50 BYTE),
    "REMARKS" VARCHAR2(200 BYTE),
    "REMAINING_QUANTITY" VARCHAR2(30 BYTE),
    "CODE" VARCHAR2(30 BYTE)
    ORGANIZATION EXTERNAL
    TYPE ORACLE_LOADER DEFAULT DIRECTORY "LOADER" ACCESS PARAMETERS (
    RECORDS DELIMITED BY newline LOAD WHEN CODE!=BLANKS Skip 1 FIELDS
    TERMINATED BY 0X'09' MISSING FIELD VALUES ARE NULL REJECT ROWS
    WITH
    ALL NULL FIELDS ( Finance_date,
    creation_date, sent_date, Remarks,
    remaining_quantity, code) location ( 'Finance.tsv' )
    I exported the result in xls file and I saw in the last column a special character. The result of a copy and paste is prenseted here : "ABE
    You should notice that the last quote is in the upper line instead of at the end of ABE. This means, I think, that there is a carriage return at the end. And the 0X'09' is the tab separator. How can I get rid of this character ?

    my guess is that you run the load on unix server which uses default LF end-of-line character and the file has dos CRLF end-of-line, the easiest option is to change records delimiter in the DDL and replace "RECORDS DELIMITED BY newline" with code below
    RECORDS DELIMITED BY '\r\n'in general end-of-line can be really any character, sample above shows CRLF but it can be TAB, space, | or any other character or set of characters. I have samples of special characters on my blog http://jiri.wordpress.com/2009/01/29/oracle-external-tables-by-examples-part-1/
    hope this helps
    jiri

Maybe you are looking for

  • Error called the utl_dbws.create_service

    hi, i get following error "ORA-29541: class SYS.oracle/jpub/runtime/dbws/DbwsProxy could not be resolved" while called and webservice from utl_dbws.create_service Can any on help me. kiran

  • Image Rotation with AE SDK

    Hello all,    I am wondering if someone could suggest a desription of image rotation using Adobe AE SDK - in a Forum entry or in some other related document. While some elements of rotation may be considered available in SDK sample projects - Shifter

  • Entire iPhoto collection lost!!!

    I went to open iPhotos just now and it offered me the chance to do something regarding the thumbnails. I clicked yes. The screen went blank, iPhotos had half opened, then nothing. Left it for half an hour, the relaunched and nothing! All the photos h

  • Multiple Copies of Contacts after Importing to Mac

    I have been challenged with  contacts since I changed from PC to Mac and then added iCloud.  At this poing I have managed to lose all of the contacts on my iphone, ipad and icloud as well as all the groups I set up and have 33,000 contacts in my addr

  • What happens if the screen breaks?

    Mine hasn't but I saw online that someone's broke so I was wondering .. what happens if it cracks? Can I get a new one for free or do I buy it .. is their a warranty I can get or insurance that I buy in case is breaks [the glass not the actual phone]