LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  toUpper() fails on ���-characters

    Employee
    Posted 12-23-2011 02:27

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: erno

    Hi,

    I noted that toUpper() -function doesn't work well with ���-letters, i.e. all other characters all capitalized but ���-characters remain in lowercase. This can be really problematic since the node doesn't give error and the failure might go unnoticed.


  • 2.  RE: toUpper() fails on ���-characters

    Employee
    Posted 12-30-2011 15:01

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: rpigneri

    Dear Erno,

    Could you please provide more information about the situation in which you are using this function? I have run the attached graph in 4.5.2 and found it to work correctly. Which version of LAE are you using?

    Thank you,

    Rocco
    Attachments:
    caseTests.brg


  • 3.  RE: toUpper() fails on ���-characters

    Employee
    Posted 01-02-2012 00:26

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: erno

    Originally posted by: rpigneri
    					

    Dear Erno,

    Could you please provide more information about the situation in which you are using this function? I have run the attached graph in 4.5.2 and found it to work correctly. Which version of LAE are you using?

    Thank you,

    Rocco

    Thanks,

    I tested your graph and it works when data is in unicode format. However, the same example fails when data is imported as string. See the following example:

    caseTests2.brg

    Regards,
    Erno


  • 4.  RE: toUpper() fails on ���-characters

    Employee
    Posted 01-04-2012 11:16

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: rpigneri

    Dear Erno,

    I now understand the situation. From some quick research, you request seems reasonable. I will create a problem report for this issue. It should be fixed in an upcoming maintenance release.

    For the time being, I would recommend simply converting your data to Unicode before doing this conversion. Alternately, if there is a pressing reason why that is unfeasible, I could perhaps help provide another alternative.

    Hope that helps,

    Rocco


  • 5.  RE: toUpper() fails on ���-characters

    Employee
    Posted 03-08-2012 07:27

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: erno

    Still not working in LAE 4.5.3...

    Best,
    Erno


  • 6.  RE: toUpper() fails on ���-characters

    Employee
    Posted 03-09-2012 10:18

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: rpigneri

    Dear Erno,

    Sorry if I was unclear, but I meant to say, not that this problem would be solved in this maintenance release, but more that it is in the queue to be fixed in the future. I unfortunately cannot give you a specific date as to when that would happen, but please rest assured that we are tracking the issue and will solve it at a later date.

    Luckily, I can give you a very quick workaround that is usable right now. Let's imagine that you had a field named "data" that you wanted to capitalize. Simply use the following code:

    data = data.unicode().toUpper().str()

    This will correctly capitalize the string and return it in ASCII format. This works with toLower() as well.

    Hope that helps,

    Rocco