Share the invocation and the pound sign

Hello

Qml I am sharing a message that contains a pound sign "£", but this charcacter is corrupted:

{Of invocation
ID: share
query: {InvokeQuery}
mimetype: "text/plain".
ID: idQuery
invokeActionId: "bb.action.SHARE".
}
onArmed: {}
If (idQuery.data! = "") {}
Trigger ("BB.action.Share");
}
}
}

The one you have ideas? I tried to use a mime like this type: "text/plain; charset = utf-8', but without success.

I managed to find an answer to my question which is perhaps not the best way to do it, but it works for me. It allows also extended characters will be displayed on such as "USA" to share.

I expose a function in C++:

Static QByteArray Q_INVOKABLE fromUnicodeToLocale(const QString &str);)

QByteArray Utils::fromUnicodeToLocale (const QString & str) {}
QTextCodec::codecForLocale()-> fromUnicode (str) return;
}

Then in qml:

{Of invocation
ID: share
query {}
mimetype: "text/plain".

data : _utils.fromUnicodeToLocale ("My Cafe: the £1.60")
ID: idQuery
invokeActionId: "bb.action.SHARE".
}
onArmed: {}
If (share.query.data! = "") {}
Trigger ("BB.action.Share");
}
}
}

Tags: BlackBerry Developers

Similar Questions

  • remove the pound sign

    I have a book signing at the bottom of an InDesign page that interferes with the flow of text.  Anyone know how to remove it?  The elements of Masterpage replace them all in the Pages menu has no effect.

    I am 'proper' ing this point because I can't give a page because of the text property.  I solved the problem with the solution of kluge of adding new pages and to delete the pages with the sign sharp.

  • Best solution to get the pound sign displayed US7ASCII DB in Reports11g

    Hello

    We know that the conversion of AL32UTF8 database would be the best solution.
    But we have not prepared for it yet. We are looking for the best solution solve a problem.

    Run a particular report we know ' ORA-12713: NCHAR/CHAR character conversion data loss ' errors. When investigation we saw that they are either lifted when the report attempts to retrieve the text that contains the symbols of Pound (£). (chr (163))

    Y at - it no good work around for this kind of symbols in forms/Reports11g?

    Information about our system
    Database: 10.2.0.5.0 - linux 64-bit
    AppServer, Forsm: Weblogic 10.3.2; Portal of Fusion Middleware 11 g 1 matter, forms, reports and discoverer 11.1.1.2.0 x 86-64
    OS: RHES 5.5 x86_64
    Linux locales: UTF8
    LANG is en_US. UTF-8
    LC_CTYPE = "" fr_FR. UTF-8 ".
    LC_NUMERIC = "" fr_FR. UTF-8 ".
    LC_TIME = "" fr_FR. UTF-8 ".
    LC_COLLATE = "" fr_FR. UTF-8 ".
    LC_MONETARY = "" fr_FR. UTF-8 ".
    LC_MESSAGES = "" fr_FR. UTF-8 ".
    LC_PAPER = "" fr_FR. UTF-8 ".
    LC_NAME = "" fr_FR. UTF-8 ".
    LC_ADDRESS = "" fr_FR. UTF-8 ".
    LC_TELEPHONE = "" fr_FR. UTF-8 ".
    LC_MEASUREMENT = "" fr_FR. UTF-8 ".
    LC_IDENTIFICATION = "" fr_FR. UTF-8 ".
    LC_ALL =
    NLS_LANG variable env for user oracle set to AMERICAN_AMERICA. UTF8.


    Thanks in advance.
    Best regards, Zoltan

    Immutable csscan results do not guarantee that all codes are interpreted as WE8MSWIN1252. Only, they guarantee that all bytes are valid codes in WE8MSWIN1252. Only an analysis of the languages that are stored in the database will give you the guarantee (for example if all users and all external data sources are from Western Europe, you can assume that all character codes are interpreted as WE8MSWIN1252).

    If you notice that all codes are WE8MSWIN1252, migrate the database character set. I don't see any other effective way to solve the problem.

    -Sergiusz

  • @ sign is the captial lock + 2 How can I change this - also can not find the sign of the pound sterling

    I had my computer updated and the keyboard acts weird, I know that this can happen, but I can't find where to change it.
    The sign @ is capital lock + 2 and I can not find the sign of the pound sterling.  The dates where the American MM/DD/YY, but I managed to change it, but can not find where to change the keys on the keyboard.  Help would be appreciated.
    Thank you
    Jenny

    Hi JennyBrightwell,

    1. how you accessed the pound sign before on the computer?

    2. where you using a third party program for characters to work?

    3. What keyboard layout you have defined on the computer?

    4. What is the serial number and model of the keyboard?

    5. what you up to date on the computer?

    I suggest that you check if the problem persists when using on screen keyboard on the computer and the post with the result back.

    Keyboard on the screen overview

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/osk_overview.mspx?mfr=true

    Using the character map

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/app_charmap.mspx?mfr=true

  • I cannot share the images and photos on flickr

    Only after the export of images to another can folder (on the desktop to facilitate the conclusion) I upload to steal flickr account.

    On the old iPhotos, I used to click on share and there they went.

    I want to download on flickr via sharing.

    I have account in internet accounts.

    Why you can not export? What's happening exactly and this error you get?

    Of helo Photos - a good place to look for help with Photos

    You can publish your photos and video clips directly from Photos on your Facebook, Flickr account, or Twitter account.

    Note: When you publish a picture live on Facebook, Flickr or Twitter, Live Photo is transferred as a still image only.

    Open pictures for me

    Login to your Facebook, Flickr or Twitter account

    Publish your photos and video clips on Facebook

    Publish your photos on Flickr

    You can share your photos online by publishing directly from Photos on Flickr.

    1. Select the photos you want to publish.
    2. Click on the Share button in the toolbar and choose Flickr.
    3. If the pictures asks you to connect to your Flickr account, enter your account ID and password, and then click Sign In.
    4. In the Flickr dialog box, choose options for the photos.
      • Choose a place to add photos: Click the menu drop-down select Photo set and choose a set of photos (what Flickr calls an album). To add your photos to your Flickr Photostream, choose Photostream.
      • Choose who can see the photos: Click on the drop down at the top right.
      • Add a title, description and tags: Type the text in the fields.
    5. Click on publish

    LN

  • When I type 'Shift-3' a sign of the pound sterling, I get

    When I type 'Shift-3' a sign of the pound sterling, I get # "hash". I did something stupid with my keyboard and if so, how to cancel it?

    I'm (20 inch, early 2008), Mac OS X, 10.11.6, wireless without A1314 keyboard model

    Go to Preferences system - keyboard - input Sources. Here, you can use + sign to enable British keyboard that has £ sign on shift + 3. You can also check box "show the menu in the menu bar" so you can easily switch between different keyboards.

  • How can I get a sign of the pound Sterling on my keyboard

    I bought my PC in South Africa.  It has a Dollar sign, but I need a sign of the pound Sterling.  Is there anyway I can change the Dollar (although it is always nice to have) or install somehow the symbol of the book?

    Hello

    Place the cursor in front of the number desired number sign, hold down the ALT key and type 0163

    (For XP) or regional and Language Options of the control panel.

    Click the languages tab, and then click details under Text Services and input languages.

    Click Add, and then select English UK.

    Kind regards

    Joel

  • How to share the Image and the text on Facebook and Twitter at the same time?

    Hi, I made a text box enter the text and also produce the selector to choose the image.

    So I text and the imagePath.

    How to share this text and image for facebook and twitter at the same time?

    (the example is like checkin on Foursquare app for BB10)

    [* If you use the invocation sharing, I can't pick one, ex: come share on facebook]

    Thank you

    It is not currently supported.

    http://supportforums.BlackBerry.com/T5/native-development/share-text-and-photo-for-the-same-invocati...

  • Share the iMac screen and keyboard with Mini?

    If I have a Mac Mini, can he share the screen and the keyboard of my iMac (27-inch, 3.4 GHz with OS X 10.11.6 end 2012)?  Or I need additional hardware on my desk?

    Bluetooth keyboard/mouse with two Macs sharing

    February 2016 https://discussions.apple.com/message/29761388#29761388 - "whether or not you can use your old iMac as secondary screen for your new iMac (known as the target Display Mode) will depend on the model."

    Use your iMac as a display with the target - Apple-Support - https://support.apple.com/HT204592 Display Mode

    I'm guessing that you are going to reach the point where you click on a button and the keyboard and display switch between a computer and the other simply.

  • How to make the sign of the pound Sterling to print instead of the hash symbol?

    When I type and need to use the symbol for the pound Sterling (Upper case 3) I get only the symbol # (sharp).  How can I change this.  I tried to change the keyboard to English instead of e. u., but this has no effect.

    option / alt + 3

  • My 5s possible remote jailbroken and hacked so I share the same ID Apple and the person knows my passwords?

    My 5s possible remote jailbroken and hacked so I share the same ID Apple and the person knows my passwords?

    N °

    What makes you think that this could happen? If you share an Apple ID with someone and they know a lot of your passwords, they have access to a lot of your information. Change your passwords.

  • My wife and I have apple devices can we share the same cloud

    My wife and I have iphones can we both share the same cloud and how?

    Welcome to the Apple community.

    Yes, but why would you do that, it's really not recommended. If you tell us what you expect there may be more effective than the sharing of ID.

  • How do I keep my wifes calls appear on my phone and mine appear on hers, we share the same acct icloud and itunes? It just started this on one or two updates ago

    How do I keep my wifes calls appear on my phone and mine appear on hers, we share the same acct icloud and itunes? It just started this on one or two updates ago

    Welcome to the Apple community.

    I'm afraid that is what happens when you share an Apple ID.

    Ideally you should each have your own ID and use family share for share purchases, but at least you would be better to have your own ID's for everything except iTunes.

    I suspect that your problem is that you share an ID for FaceTime, you must either stop this or make sure that you have only and that your caller ID is only your phone number.

  • Share the expression in step.result.numeric and locals.variable

    Hello together,

    I'm new in the world of TestStand and I have a simple question.

    How can I share the output of a step between the expression step.numeric.result (NumericLimitTest) and a variable 'local '? I need the output of a time step value for the comparison of the limit and once to give to the next step.

    Thank you

    Dusan


  • I'm now living in the United Kingdom with a PC HP Pavilion ze 5200 on XP that is not a sign of the pound Sterling. I can create a.

    I'm now living in the United Kingdom with a HP pavilion ze 5200 on XP that is not a sign of the pound Sterling.  How can I create a.

    Kind regards

    Peter.

    WORD 2007

    One way would be as follows: -.

    Insert the tab.

    Group of symbols.

    Click on: -.

    Symbol

    The first symbol in the upper left corner is the symbol of GBP.

    Click on it so he can appear in your document.

Maybe you are looking for

  • Safari NY Times

    The New York Times Web site is no longer is correctly rendered in Safari.  Other browsers (Firefox, for example) are very good.

  • HP Tablet 10 G2 - 2301: sound on HP Tablet 10 G2 - 2301

    I have the HP 10 Tablet G2 - 2301 model name: N3T44AAR and I noticed when I go to Google or Chrome and click a button I can hear a click. Is there anything that I can disable this 'click' sound when I type on a touch? I went to the settings and the S

  • Access using time to time code

    I want to use the functionality of code pass occasionally. If I put the code to access and use it, I'll be able to disable the security option settings and the use of the phone without entering a code. This option is on my ipad but not sure about the

  • hpConnectionManager.exe could not load the Assembly

    Hello. Before I'm begins, here are some of my features. Product name: HP ProBook 450 G1 Product number: G4T52UT #ABA Windows 7 Professional 64-bit Service Pack 1 Don't know what else you need, but I'm willing to give it. Also, whenever I boot from a

  • How to enable ipv6 connectivity

    Dear Sirs, I would ask: I am using windows 7 Home Basic How to set up ipv6 connectivity connectivity? I had to open Control Panel and check ipv4 and ipv6, but connection network---> ipv4 connectivity is connected but ipv6 is not connection I always l