Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: expression charecter problem

  1. #1
    Join Date
    Mar 2003
    Posts
    4,947

    Default expression charecter problem

    hi;
    i couldn't used Turkish charecters when defining new expressions.
    are there any one who solved this problem?
    thanks..


    <expression name="In-Out" deplevel="1" class="com.jrefinery.report.function.BSHExpression">
    <properties>
    <property name="expression">
    Object getValue()
    {
    // dataRow is null before the function is initialized
    if (dataRow == null)
    {
    return null;
    }

    String s= dataRow.get("Type");
    if (s.charAt(0)=='t')
    {
    return "GİRİŞ";
    }
    else if (s.charAt(0)=='f')
    {
    return "

  2. #2
    Join Date
    Mar 2003
    Posts
    8,085

    Default

    Hi,

    the xml file is read and translated by the xml parser. The parser will try to read the encoding specification from the top of the file. You should make sure, that the encoding is correct for your content.

    <?xml version="1.0" encoding="iso-8859-1">

    will be ok for western europe, but may cause problems with your characters. If in doubt, use an Unicode capable editor and use UTF-8 or UTF-16 as encoding.

    Have more fun,
    said Thomas

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.