Language-Sensitive Inner/Outer Quotation Marks

According to w3c HTML 4.0.2 spec:
Visual user agents must ensure that the content of the Q element is rendered with delimiting quotation marks. Authors should not put quotation marks at the beginning and end of the content of a Q element.
User agents should render quotation marks in a language-sensitive manner (see the lang attribute). Many languages adopt different quotation styles for outer and inner (nested) quotations, which should be respected by user-agents.
The following example illustrates nested quotations with the Q element.
John said, <Q lang="en-us">I saw Lucy at lunch, she told me
<Q lang="en-us">Mary wants you
to get some ice cream on your way home.</Q> I think I will get
some at Ben and Jerry's, on Gloucester Road.</Q>
Since the language of both quotations is American English, user agents should render them appropriately, for example with single quote marks around the inner quotation and double quote marks around the outer quotation:
John said, "I saw Lucy at lunch, she told me 'Mary wants you
to get some ice cream on your way home.' I think I will get some
at Ben and Jerry's, on Gloucester Road."
Question: Does java provide a way to obtain language-sensitive inner and outer quotation marks?
;o)
V.V.

Just an added note:
I am currently using unicode 201C and 201D to render outer quotes and 2018 and 2019 for inner quotes as shown in the picture at the link shown below:
http://home.comcast.net/~viravan/p1.png
I can change my parser to accept user-specified character like so:
<Q CHAR=?>........ </Q CHAR=?>
but if there is a way to obtain the language-specific characters, it would be great!
;o)
V.V.

Similar Messages

  • Typographically correct apostrophes and quotation marks? Bug?

    I am using the trial of Pages '08 (3.0) on a German Mac OS-X 10.4.10. Typographic quotation marks are switched on.
    Apostrophe:
    Whenever I type a phrase in English with an apostrophe, for instance the word "Let's" it uses a left single quotation mark (‘) instead of the right single quotation mark.
    Quotation marks and languages:
    Likewise, with typographic quotation marks set in the program settings, Pages uses the German quotation marks (which look like this: „word‟) although the text language is set to English. This behaviour occurs with English and English, GB. In Word this behaviour changes with the text language setting.
    I am a recent switcher, so maybe a solution to this problem is already known. If not, should I report this as a bug via feedback?

    Ian, yes, that would be Smart Quotes in English.
    You not being able to get German quotation marks in English would seem to be the same problem. I guess this is a bug then (or a missing feature) as I would expect this to change with each language (e.g. French has guillemots etc.).
    Would perhaps having several keyboard input setup in OS-X help here?
    Thanks for the link to Tom Gewecke's page. Tom, I'd be interested to hear of any other good recommendations. Are NeoOffice/OpenOffice good in this respect? Word compatibility and the ability to track changes is a must for me (as client's work with Office), but I'd rather invest in Microsoft Office when the new Universal version becomes available? I like the more simplified interface of Pages, which is why I'm trying the new version out via the trial.

  • Quotation marks appearing as left or right arrows, does anyone know what is causing this?

    Hi there we are using Indesign 2014, I am not sure if that has anything to do with this or not, but certain paragraphs in a document have a bug, where by when you type in a quotation mark (') a left or right arrow appears. We have found that if we clear the paragraph styling this disappears and the quotation marks work fine again. It is worth noting that these paragraphs did not have any paragraph styles applied to them, but they were pasted in from MS Word. Has anyone else experienced this issue and do you know where it comes from?

    Ok thanks for enlightening me. We checked all the language settings on our workstations and they seem to be all set up as English UK and smart quotes are set to be used. I am not sure how to check the language assigned to a paragraph, as I say, there is not paragraph style applied to this text… Can you please let me know how to check this?
    The more I think about it, the more I think it is some sort of styling that has come in from MS Word. I thought InDesign was pretty good at stripping out anything like this.

  • [CS3][JS] find/change quotation marks to typographer quotes

    my document contains a lot of quotation marks but they are not typographic (the opening one and the closing one are similar (") i want them to be typographic. I tried this script and it doesn't work.
    var myDoc = app.activeDocument;
    app.findGlyphPreferences = NothingEnum.nothing;
    app.changeGlyphPreferences = NothingEnum.nothing;
    app.findGlyphPreferences.appliedFont = app.fonts.item("Times New Roman  Regular");
    app.findGlyphPreferences.glyphID = 5;
    var myFoundItems = myDoc.findGlyph();
    app.changeGlyphPreferences.appliedFont = app.fonts.item("Times New Roman  Regular");
    var r=0;
    for(i=0;i<myFoundItems.length;i++){
      app.changeGlyphPreferences.glyphID = 179;
        myFoundItems(r).changeGlyph();
    app.changeGlyphPreferences.glyphID = 180;
        myFoundItems(r+1).changeGlyph();
        r+=2;

    Hi Peter,
    your solution is pretty good while the pairs of quotes are complete and you only use one sort of typographer quotes.
    But what if once the final quote is missing?
    Or if you want to use different language sensitive quotes for a document with multilingual text?
    Another approach is to take use of the execution of typographer quotes of InDesign itself.
    First you will have to activate typographer quotes:
    app.activeDocument.textPreferences.typographersQuotes = true;
    If you now change " with " you will get ".
    That's not what you have been looking for. ;-)
    You first have to make all non-typographical quotes to one specific typographical quote (right or wrong) or a placeholder. And than you have to change the specific typographical quotes to the non-typographical quotes (sic!). After that you will find your language-sensitive quotes.
    Here is an example.
    var myDoc = app.activeDocument;
    var myRange = (app.selection.length == 1 )
    ? app.selection[0]
    : myDoc;
    myDoc.textPreferences.typographersQuotes = true;
    app.findGrepPreferences = app.changeGrepPreferences = null;
    app.findGrepPreferences.appliedFont = myDoc.paragraphStyles[1].appliedFont.fullName;
    theChangeGrep ( '\[\\x{0027}\\x{2019}\\x{201A}\\x{2039}\\x{203A}\]', '\\x{2018}' );
    theChangeGrep ( '\[\\x{0022}\\x{201D}\\x{201E}\\x{00AB}\\x{00BB}\]', '\\x{201C}' );
    theChangeGrep ( '\\x{2018}', '\\x{0027}' );
    theChangeGrep ( '\\x{201C}', '\\x{0022}' );
    function theChangeGrep ( f, c)
    app.findGrepPreferences.findWhat = f;
    app.changeGrepPreferences.changeTo = c;
    myRange.changeGrep();
    It takes some more search executions, that's true.
    But it's language sensitive! ;-)
    After all, apostrophes () will disturb the changing also in this approach, because they are not recognized as apostrophes but as single typographical quotes.
    To prevent from this I am still looking for a solution.
    Martin

  • Builder and quotation marks

    Since we don't need the quotation marks, why does the builder build using them????
    I'm trying to write the source by hand, and I use the builder to learn from.
    But any source that's been generated has all that excess stuff in it, so I have to go in and edit it out.
    Is there a toggle to turn that off?
    Marion

    This is primarily in support of object names using non-ascii characters. I believe table names can only contain A-Z 0-9 _ without using quotes around them. So, if you were French and wanted to create an employees table:
    CREATE TABLE EMPLOYÉS(ID NUMBER);
    CREATE TABLE EMPLOYÉS(ID NUMBER)
    ERROR at line 1:
    ORA-00911: invalid characterWith quotes:
    CREATE TABLE "EMPLOYÉS"(ID NUMBER);
    Table created.Since APEX is supported 9 languages in addition to English, they have to expect they will encounter this issue when querying these tables as well. So, to be safe everything is enclosed in quotes. Quotes also support mixed case object names, but that is terrible, terrible path to go down. If anyone reading this that uses Oracle in another language cares to chime-in and correct / supplement my response, feel free.
    Tyler Muth
    http://tylermuth.wordpress.com
    [Applied Oracle Security: Developing Secure Database and Middleware Environments|http://www.amazon.com/gp/product/0071613706?ie=UTF8&tag=tylsblo-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=0071613706]

  • How can i get the correct text from a string like it show in the original source with the quotation marks in the right place ?

    The text is in hebrew so the problem is that sometimes the quotation marks not in the right place.
    For example i have this text: תווית
    על בגד: ''תן לאישה לכבס. זה תפקידה''
    This is the source original text you can see the quotations marks and they are not in the right place and all i did is copy paste.
    And this is a screenshot of how this text looks like in the website in the original:
    You can see now where the quotations marks should be.
    Now this is how i'm using the text in my program:
    First of all i'm using a webclient to download the page from the website and i'm also encoding it to windows-1255 since it's in hebrew.
    using (var webClient = new WebClient())
    webClient.Headers.Add("user-agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.0.3705;)");
    byte[] myDataBuffer = webClient.DownloadData("http://rotter.net/scoopscache.html");
    page = Encoding.GetEncoding("windows-1255").GetString(myDataBuffer);
    Then i'm extracting the places i need by reading the html file lines and parsing the right text and it's link.
    string loc;
    List<string> metas = new List<string>();
    List<string> metas1 = new List<string>();
    List<string> lockedLinks1 = new List<string>();
    string text = "";
    string mys = "";
    public List<string> LockedThreads(string filename)
    lockedThreads = new List<string>();
    lockedLinks = new List<string>();
    Regex textRegex = new Regex("ToolTip.*?(?=','<)");
    string[] fall = File.ReadAllLines(filename);
    for (int i = 0; i < fall.Length; i++)
    if (fall[i].Contains("http://rotter.net") && fall[i].Contains("locked")||
    fall[i].Contains("locked_icon_general") ||
    fall[i].Contains("locked_icon_anchor") ||
    fall[i].Contains("icon_anchor") ||
    fall[i].Contains("locked_icon_fire") ||
    fall[i].Contains("locked_icon_sport") ||
    fall[i].Contains("locked_icon_camera") ||
    fall[i].Contains("locked_icon_movie"))
    Regex linkParser = new Regex(@"\b(?:https?://|www\.)\S+\b", RegexOptions.Compiled | RegexOptions.IgnoreCase);
    foreach (Match m in linkParser.Matches(fall[i + 2]))
    if (m.Value.Contains("><b"))
    loc = m.Value.Replace("\"><b", string.Empty);
    lockedLinks.Add(loc);
    string txt = fall[i - 1];
    string text = textRegex.Match(txt).Value.Replace("ToolTip','", String.Empty);
    if (text.Contains("&rsquo;"))
    text = text.Replace("&rsquo;", string.Empty);
    lockedThreads.Add(text);
    Already here on the List lockedThreads you can see the quotation marks not in the right place as in the original:
    After i'm parsing the text and links and adding them to the Lists in another class i'm doing a comparison using this Lists:
    foreach (List<string> l_branch in ListsExtractions.responsers)
    TreeNode l_node = treeView1.Nodes.Add(l_branch[l_branch.Count - 1]);
    if (ListsExtractions.lockedThreads.Contains(l_node.Text))
    l_node.ImageIndex = 0;
    l_node.SelectedImageIndex = 0;
    for (int l_count = 0; l_count < l_branch.Count - 1; l_count++)
    TreeNode l_subnode = l_node.Nodes.Add(l_branch[l_count]);
    if (ListsExtractions.lockedThreads.Contains(l_subnode.Text))
    l_subnode.ImageIndex = 0;
    l_subnode.SelectedImageIndex = 0;
    The problem is in the line:
    if (ListsExtractions.lockedThreads.Contains(l_node.Text))
    When it's getting to the line with the quotation marks it's never equal.
    Now there are more quotation marks.
    In general the problem when comparing both text if it's having quotation marks it's not the same.
    So i have two options:
    1. To fix it somehow so the quotation marks will be the same in both variables when comparing and also the same like in the original as they show in the html page.
    2. To remove the quotation marks from both variables.
    What should i do ? And how ? I was prefer to use the original quotation marks like in the original since they have a meaning in the place they should be. The question is how can i do it ?
    This is example of the block from the html file where the text with the quotation marks is:
    <TD ALIGN="RIGHT" VALIGN="TOP">&nbsp;<font size=-1 color=#ff9933><b>9418</b></font>&nbsp;</TD></TR><TR BGCOLOR="#eeeeee">
    <TD ALIGN="RIGHT" VALIGN="TOP">
    <body onmousemove="overhere()">
    <a onmouseover="EnterContent('ToolTip','תווית על בגד: &rsquo;&rsquo;תן לאישה לכבס. זה תפקידה&rsquo;&rsquo;','<u><span style=color:#000099;>כתב: Spook בתאריך: 08.03.15 שעה: 22:11</span></u><br>מחאת טוויטר קמה בעקבות תוויות שוביניסטיות שהדפיסה חברת אופנה באינדונזיה לפיהן תפקיד הכביסה מוטל על האישה. החברה התנצלה אך כנראה רק עשתה רק יותר נזק לע...'); Activate();" onmouseout="deActivate()" href="javascript:void(0)">
    <img src="http://rotter.net/forum/Images/new_locked_icon_general.gif" border="0"></a></TD><TD ALIGN="right" VALIGN="TOP" WIDTH="55%">
    <FONT CLASS='text15bn'><FONT FACE="Arial">
    <a href="http://rotter.net/cgi-bin/forum/dcboard.cgi?az=read_count&om=189696&forum=scoops1"><b>
    <font color="898A8E">תווית על בגד: ''תן לאישה לכבס. זה תפקידה''</b>
    </a></font></TD>

    Ok, it is unclear on what is happening here.
    Are you saying that when the webclient gets the data that it is not honoring the quote characters? Or the processing of the data buffer is causing issues?
    This is what I see the of your example text which is trying to be parse out:
    <a onmouseover="EnterContent('ToolTip','תווית על בגד: &rsquo;&rsquo;תן לאישה לכבס. זה תפקידה&rsquo;&rsquo;','<u><span style=color:#000099;>כתב: Spook בתאריך: 08.03.15 שעה: 22:11</span></u><br>מחאת טוויטר קמה בעקבות תוויות שוביניסטיות שהדפיסה חברת אופנה באינדונזיה לפיהן תפקיד הכביסה מוטל על האישה. החברה התנצלה אך כנראה רק עשתה רק יותר נזק לע...'); Activate();">";
    It appears to me that the  escapes `&rsquo;` does not have matching `&ldquo;` anywhere within the tooltip. So it appears that the page properly places left quotes in when processing the page, but the raw html has broken text.
    Hence a garbage in, garbage out situation.
    William Wegerson (www.OmegaCoder.Com)

  • Quotation Marks display as boxes

    I need to figure out why in some instance quotation marks
    display as boxes.
    This may also be a ColdFusion question but I'll start here:
    I have a site that displays articles from a coldfusion
    database. The articles display fine. There is no css or font tag
    applied to the text (so basically displaying default fonts).
    Now, I gave the page a new name and surrounded the code with
    formatting css. All quotation marks display as square box. I
    thought it may depend on the font that I chose (Ariel). So I
    removed the css style sheet for a moment but the quotation marks
    still show as box. Since I have the same code to pull the data,
    same browser, same computer, this is puzzling.
    Any idea what is causing this?
    Thanks.

    Are the quotes 'straight' quotes, or 'curly' quotes? Although
    both straight
    and curly quotes are special characters (&quot; and
    &#8220; respectively) a
    ' " ' (i.e. straight quote) will usually appear as a straight
    quote when put
    directly in the code, but I have never had curly quotes
    appear correctly. I
    guess this is because quotes are used within attributes and
    so on in regular
    HTML.
    If this isn't your problem then someone else will answer
    better than I
    have...
    Regards,
    Bruce
    "weblinkstudio" <[email protected]> wrote in
    message
    news:gnv4mg$82f$[email protected]..
    >I need to figure out why in some instance quotation marks
    display as boxes.
    > This may also be a ColdFusion question but I'll start
    here:
    >
    > I have a site that displays articles from a coldfusion
    database. The
    > articles
    > display fine. There is no css or font tag applied to the
    text (so
    > basically
    > displaying default fonts).
    >
    > Now, I gave the page a new name and surrounded the code
    with formatting
    > css.
    > All quotation marks display as square box. I thought it
    may depend on the
    > font
    > that I chose (Ariel). So I removed the css style sheet
    for a moment but
    > the
    > quotation marks still show as box. Since I have the same
    code to pull the
    > data,
    > same browser, same computer, this is puzzling.
    > Any idea what is causing this?
    > Thanks.
    >

  • SSMS 2012:XQuery-doing "Retriving Job Candidates with the query Method" in AdventuresWorks 2012. Unclosed quotation mark after string '//*:Name.First?

    Hi all,
    From Page 354 of the the Book "Pro T-SQL 2008 Programmer's Guide" written by Michael Coles (published by apress), I copied the following code (Listing 12-9 Retrieving Job Candidates with the query Method):
    --Coles12_9.sql // saved in C:/Documemnts/SQL Server Management Studio
    -- Coles Listing 12-9 Retrieving Job Candidates with the query Method
    -- Doing XQuery and the xml Data Type in AdvantureWorks
    -- 17 March 2015 1105 AM
    USE AdventureWorks;
    GO
    SELECT Resume.query
    N'//*:Name.First,
    //*:Name.Middle,
    //*:Name.Last,
    //*:Edu.Level
    FROM HumanResources.JobCandidate;
    I executed this set of Listing 12-9 code in my SQL Server 2012 Management Studio and I got the following error messages:
    Msg 105, Level 15, State 1, Line 4
    Unclosed quotation mark after the character string '//*:Name.First,
    //*:Name.Middle,
    //*:Name.Last,
    //*:Edu.Level
    FROM HumanResources.JobCandidate;
    Msg 102, Level 15, State 1, Line 4
    Incorrect syntax near '//*:Name.First,
    //*:Name.Middle,
    //*:Name.Last,
    //*:Edu.Level
    FROM HumanResources.JobCandidate;
    I am not able to figure out why I got the error messages.  Please kindly help and advise me how to correct this set of sql codes.
    Thanks in advance,
    Scott Chang

    Hi Scott,
    I don't have that book at hand, but your problem is the "Unclosed quotationmark after the character string",as the error message shows. You have to enclose the 'XQUERY' string quotation in the
    query().
    SELECT jobcandidateid, Resume.query
    N'//*:resume,
    //*:Name.Middle,
    //*:Name.Last,
    //*:Edu.Level' --enclose the quotation here
    FROM HumanResources.JobCandidate;
    For XQUERY learning, here is a good
    link.
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • Getting Quotation Marks to look like they were mirrored. In GREP or Regular find and change

    Hello,
    Is there anyway to make quotation marks come out like this image below.
    Right now I have 2 text boxes to make it work, as I cannot get the first double quote to look like a mirrored version of the right double quote ;-(
    This is what it needs to look like.
    Thanks,
    Babs

    Peter wrote:
    When you copy someone else's copy of Sgt. Pepper you deprive the distibutor of his profit on the legitimate sale and you deprive Mssrs Mc Cartney and Starr of their rightful royalties, which may be piddling, but every little bit counts.
    Little bits do not count for as much as great big bits, and it is rule-worship to assume that they do. There is no proportionality in grouping very different sorts of violation together as if they were all in the same league of criminality. Picking up a dime someone has dropped in the street is completely different from breaking into someone's house and stealing a large quantity of money.
    You'd have a fit if you found out I was using a logo you designed, without permission, and was making money from publishing it. Suppose I hacked into your system and copied your last completed job and handed it to your client before you could deliver and bill them? Would you be upset if they went ahead and used your work and didn't bother to pay you because, after all, there was no 'property' involved and they have what they need without cost?
    Yes, I would regard that as a serious legal offense, and would follow it up with the full rigors of the law. But it is not "theft" in the proper sense of the word, in my opinion, because an idea (design, logo, etc.) is a type rather than a physical token. Its authorship must be protected, its origination acknowledged, monetarily rewarded, and all that, but the idea that it has an "owner" is the product of philosophical and logical confusion.
    Human tend to over-extend the concept of ownership to all sorts of things that cannot legitimately be owned, such as other people. Even nowadays, following the abolition of slavery, many people consider themselves the owners of their spouses, children, employees, pets, etc..
    Message was edited by: Jeremy bowmangraphics
    PS: Forgot to add that I have paid for Sgt. Pepper four times already -- in mono vinyl, stereo vinyl, tape cassette, and CD. Don't you think it's time we all deserved an "upgrade"?

  • Type tool quotation marks display like greater-than symbols

    I'm having trouble with getting quotation marks to display correctly, they look like 2 stacked >> symbols.  They change slightly depending on what font I'm using, but they all ride at the base of the text.  I cannot acheive normal looking curly or staight quotes at all.  I have tried switching smart quotes on and off in the preferences, restarting, etc.  I've noticed this problem in the past, but I thought it was the font I was using.  The same thing happens with Times New Roman.  I'm running an up to date version of PSextended CS5, 64bit on win 7 64.  Any help would be greatly appreciated!

    Not sure if this is where you looked, but check the overall Windows settings as follows: 
    Click Start and type Language in the search box.  When Region and Language comes up, click it. 
    Look through all the tabs to ensure everything's set as expected.
    Outside of finding something unexpected in there, it's never a bad idea to try resetting the Character tool, or even the Photoshop overall preferences.  To reset the Type Tool, select the T tool, then right-click in the T tool icon in the options area:
    -Noel

  • ME edition - quotation marks after LTR words

    I am working on a right-to-left document. In the document, in some places there are left-to-right words. Sometimes there are quotation marks after the LTR words that are supposed to be on the left of the LTR words because they would be (for example) at the end of a sentence. The problem is, that because it's a RTL document, so after the LTR words, InDesign places those quotation marks to the right of the LTR word.
    How can I be sure that throughout the document, the right sided quotation marks will always be on the correct side of my text (in the case, to the left of the words [since I'm using a RTL language])? Is there a GREP find/change I could do for this?
    Thank you.

    Changing the font does not make a difference.
    I'll paste the problem in ashby going to Times new roman on the next line (It's a knitting pattern):
    heel flap
    Turn work so WS of heel is facing.
    Weird. It does not show when I copy/paste it. It prints when I print. It shows up on my screen. Other ideas?

  • Adding a Kerning amount to the space between a digit and a quotation mark in GREP

    Hello,
    For some reason I am having a problem adding a Kerning amount between a digit and the Quotation mark in GREP.. Here is what I have :
    (?<=\d)\x{0022}
    I think the problem, is the character style lets me add a tracking amount, but not specify a kerning amount and that is what I really need. I just need a 150 Kern between the digit (sometimes a whole number or a fraction and the double quotation mark.
    Anyone out there know a good way to do this?
    thanks
    babs

    Almost right.
    No, you cannot set kerning in a character style (easily -- I think there was a trick to work around it, but I cannot recall what it was). Yep, you must apply tracking with the GREP style to part of the string. If you set the tracking for both characters, it will also be applied to the second one, making this wider as well.
    Set your GREP to this to prevent it:
    \d(?=~")
    (where the code ~" is equal to 'straight double quotes only').

  • Passing quotation mark in parameter

    Hi,
    I have one query which I migrated from sql server database. It is given below. I am passing single quote mark as a parameter to this query but it always retrieves 0 as count. But I have 1 record in table. As a solution to this I have resolved this issue for sql server by passing two quotation mark (replacing single quotation mark with double quotation mark). This same solution applies here too. when I pass any parameter with single quote in it, it will replace single quote with double quote and then pass it to the below given procedure. But still it is not working correctly. I have similar query for retrieving that record and it is working fine. Any idea why the below query is not working correctly?
    PROCEDURE GetEntUserGroupCountWithOther
    ppGroupName IN VARCHAR2 DEFAULT '%' ,
    cp1 IN OUT SYS_REFCURSOR
    AS
    BEGIN
    OPEN cp1 FOR
    SELECT COUNT(*) TotalRecords
    FROM ( SELECT Id EnterpriseUserGroupId,
    Name NAME,
    Description DESCRIPTION,
    IsDefault
    FROM EnterpriseUserGroup ) T1
    WHERE UPPER(NAME) LIKE +UPPER('%' || ppGroupName || '%');
    END;
    Thanks,
    Edited by: user10768079 on Jul 14, 2009 10:56 PM

    not sure what your question is, seems to work
    create table EnterpriseUserGroup
    (name varchar2(10))
    insert into EnterpriseUserGroup values ('Hello');
    insert into EnterpriseUserGroup values ('World');
    insert into EnterpriseUserGroup values ('''');
    commit;
    create or replace
    PROCEDURE GetEntUserGroupCountWithOther
    (ppGroupName IN VARCHAR2 DEFAULT '%'
    ,cp1 IN OUT SYS_REFCURSOR
    AS
    BEGIN
       OPEN cp1 FOR
          SELECT COUNT(*) TotalRecords
            FROM EnterpriseUserGroup T1
           WHERE UPPER(NAME) LIKE UPPER('%' || ppGroupName || '%');
    end;
    /and to test it
    SQL> var rc refcursor
    SQL>
    SQL>
    SQL> begin
      2     GetEntUserGroupCountWithOther ('''', :rc);
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL> print
    TOTALRECORDS
               1
    SQL> begin
      2     GetEntUserGroupCountWithOther ('hello',  :rc);
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL> print
    TOTALRECORDS
               1
    SQL> begin
      2     GetEntUserGroupCountWithOther ('not there',  :rc);
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL> print
    TOTALRECORDS
               0

  • Quotation marks and special characters

    Hello,
    Does anyone know why quotations marks are rendered as a box (space?)
    character on JSP page when displayed as a portlet? They are displayed fine
    as a standalone JSP page.
    Thank you,
    Makoto

    Hi Brodi,
    Thanks for your insight! Actually we're using WLP 7 - so no visitor tools.
    The JSP page doesn't explicitly set the encoding and I'm looking for a tag
    line or code that specifies it for the portal page, along with .portal file.
    So far I've only seen a reference to character set in i18n:localize tag. Are
    the portlet pages processed with certain encoding defined in such tags
    before pushed out to the portal page?
    Thank you,
    Makoto
    "Brodi Beartusk" <[email protected]> wrote in message
    news:[email protected]..
    >
    Makoto-
    Sounds like a mismatch between the output encoding used between the jspand the
    portal. When running the jsp stand-along, it is the jsp that determinesthe output
    encoding, while when running from within the portal, it is the .portalfile or
    the streamed db portal that determines the output encoding.
    If you are using a .portal file, the portal:directive.page element (foundimmediately
    after portal:root) is used to define the output encoding, as in:
    <portal:directive.page contentType="text/html;charset=UTF-8"/>
    If you are using a streamed portal, I believe you can use the Visitortools to
    set the output encoding for a desktop.
    By default, all portals should have their output encoding specified asUTF-8.
    I would recommend using the same for your jsp's.
    -Brodi Beartusk

  • Quotation Marks and Validation

    I'm working with an XHTML transitional document.
    I read on another forum that it is not necessary to use &quot; for quotation marks in regular html, and that it will validate without them. So I pasted text from am MS Word document with several quotation marks in it in a web page and it validated fine.
    However, when I type in text with quotation marks in the design area of the Web page, Dreamweaver inserts the &quot; in the code, as if it is needed.
    What is strange is that in this same document, I typed in some quotation marks in the code, so Dreamweaver wouldn't automatically add the  &quot;. Then I ran the validation check, and this time I got warnings that I should be using the &quot; because the quotation marks are between tags--in this case just paragraph tags. And it only gave me the warning on the quotation marks I typed in in the code
    So what is the reason for this inconsistency?  And do I need to use the &quot;.
    I would appreciate any assistance with this.

    Typing quotation marks in the code is not the same as in the design.  In the code quotations are used in HTML and server-side languages such as PHP and ASP differently.  In these cases quotes are needed as quotes and not as an HTML &quot;.
    Examples:
    HTML - &quot;Hello World&quot;
    Prints to screen -> "Hello World"
    PHP - <?php echo "Hello World"; ?>
    Prints to screen -> Hello World
    HTML - <div style="border:1px solid #000">Hello World</div>
    Prints to screen -> Hello World [Box surrounds text with 1px solid black border]
    HTML - <div style=&quot;border:1px solid #000&quot;>Hello World</div>
    Prints to screen -> [I'm not exactly sure what this does but it's not right and could look different in every browser]
    Hopefully this makes some sense as to why DW does what it does.  If you still have questions feel free to post back.

Maybe you are looking for

  • Error during BI Java 7.3 installation

    Dear Guru's, Am doing BI JAVA 7.3 installation, during deployment phase it's giveing the below error. An error occurred while processing option SAP NetWeaver 7.3 > SAP Systems > Application Server Java > Standard System > Standard System( Last error

  • Sending multiple IDocs (all in single file) to FTP via XI

    Hi All, We have a requirement as below where we are looking for various feasible solutions. The requirement is to collect multiple IDocs in ERP (2000-5000 in number) per day (either Flat File or XML) and needs to be sent as a single File (which has a

  • How do I create this table?

    When I paste the buy/sell ticket (table) from this page http://www.globalfutures.com/resources/order-placement.asp into Pages, everything comes out fine except the top - the five columns and split row above Buy and Sell labels. Any idea how I can cre

  • Showing records where groups of 4 are present

    I have an example table (input) where I want all records which can be grouped by 4 starting with number 1 (output). How could I accomplish this? input: id     le 1     a 1     b 2     c 1     d 2     d 3     d 1     e 2     e 3     e 4     e 1     f

  • Geography Markup Language

    Is there some api like XSU for XML that allows to obtain the result of a spatial query in GML directly? thank you for your help, null