XmlElement and accented, characters
HelloI use xmlelement to generate an xml file, but if a string contains an accented character it is not escaped, so in the file, I get 'to' and not ' to; "(or & #224;).
But if there is one "& gt;' it is converted to" & gt;'
can someone help me?
Thank you
Published by: user515918 on 6.42 lug-9-2009
Maybe it's
SQL> select xmlelement(noentityescaping e,regexp_replace(asciistr('A smàll samplé'),'\\(.{4})','\1;')).getstringval() xml from dual
/
XML
--------------------------------------------------------------------------------
A smàll samplé
?
Tags: Database
Similar Questions
-
Special characters and accents on the smart keyboard?
How to type special characters and accents on the smart Pro iPad keyboard? For example, I like to write "Róisín Murphy" with accents in the name as shown here. But I can't find a way to do it. Are there not as a software keyboard that I can draw on screen for those?
Thank you.
If you have your English keyboard, then you can use the standard Mac shortcuts. For acute, you more e option, then the basic letter. e is more e, then e option.
If you have your keyboard to something else, like Italian, then it might be different. That your keyboard is set to?
-
Since I have updated to OS X EL Capitan, if I hold down a button the pop-up with accented characters will not appear. By pressing the button for one second I can't type anything for like a minute. How can this problem be fixed?
Try to go to the sources of the system/preferences/keyboard and add Spanish or French to the list, if they do not exist, then restart.
-
Do not display properly accented characters
Hi guys
In my application, I received a .json file encoded in ANSI format, that contains characters such as aeiou. The interface has a ListView that loads the json data.
In Beta 2, the texts were displayed correctly, but in Beta 3, the special characters are displayed as a box with an X on the device and Simulator.
If I encode the file in UTF-8, nothing I've shown on the ListView, and it appears in the log:
JSON ERROR: "* line 1, column 1 syntax error: value, object, or array expected.»
The json file is loaded in C++ with this code:
JDA BB::Data:JsonDataAccess;
QMapjsonCont = jda.load("data/file.json").toMap ();
Lst QVariantList = jsonCont.value("items").toList ();dataModel = new GroupDataModel (QStringList)<>
dataModel-> setParent (this);
dataModel-> insertList (lst);
dataModel-> setGrouping (ItemGrouping::None);
listView if (listView)-> setDataModel (dataModel);The texts are loaded in the ListItems with QML code:
{Label
text: ListItemData.title}
I searched the forums and found this thread of special characters, but this does not solve my problem.
I would really appreciate any ideas.
José Ugalde
Looks to his saying that your json file is misformatted, not if your accented characters are a problem.
-
I use InDesign CS5 on a Windows 7 system. How to type accented characters? I know how to find the characters I want to in the glyphs Panel and insert them from there, by double-clicking on them. But I want to be able to type Spanish (or other languages) and enter the special letters from the keyboard without having to go back in the glyphs Panel. Is there a way to do this?
I used FrameMaker for years. It was relatively easy to type Esc +'+ to get an acute accented one. Is this possible as well in the ID?
Thank you!
Take a look at javascript composed of Peter Kahrel to see if he can do what you want.
David
-
Problems with N and accents if you modify the flash template
Hello
Please, someone help!
I tried to change the text of a flash model, and when I publish it, I do not see the N and accents
I searched for a solution and I found on the internet:
system.useCodepage = true;
But this does not work, I'm still not that symbols when the file is published.
It is a dynamic text generated from code inside the fla. I'm using cs5.
Here is the code I have in the model:
var menu_label:Array = new Array ("BIENVENIDO", "TELLNO GRÁFICO",)
"TELLNO WEB ',"PORTAFOLIO ",.
"PUBLICIDAD ONLINE", "CORPORATE IDENTITY,"
'DOMINIOS REGISTRO', 'CONTACT',
"ACCOMMODATION WEB");
var total: Number = menu_label.length;
var i: Number = 0;
var: page number;
var main_menu:MovieClip = new MovieClip();
stage.addChild (main_menu);for (i = 0; i < total; i ++)
{
var BTN = new flashmo_button();
BTN. Name = "flashmo_btn" + i;
btn.scaleX = btn.scaleY = btn.alpha = 0;
BTN.item_no = i;
BTN.flashmo_bg_color.gotoAndStop (i + 1);
BTN.flashmo_click_area.addEventListener (Event.ENTER_FRAME, btn_enter);
BTN.flashmo_click_area.addEventListener (MouseEvent.ROLL_OVER, btn_over);
BTN.flashmo_click_area.addEventListener (MouseEvent.ROLL_OUT, btn_out);
BTN.flashmo_click_area.addEventListener (MouseEvent.CLICK, btn_click);
var each_substring:Array is menu_label [i].split("|");.
BTN.flashmo_button_label.fm_label. Text = each_substring [0];
BTN.item_url = each_substring [1];
BTN.flashmo_button_number.fm_number. Text = "." 0 » + (i + 1) ;
main_menu. AddChild (BTN);
}function btn_over(e:MouseEvent):void
{
e.Target.parent.over = true;
}function btn_out(e:MouseEvent):void
{
e.Target.parent.over = false;
}function btn_click(e:MouseEvent):void
{
var e.target.parent = MC;If (mc.item_url! = undefined)
navigateToURL (new URLRequest (mc.item_url), '_parent');
on the other
change_page (MC.item_no);
}function btn_enter(e:Event):void
{
var e.target.parent = MC;
If (mc.over is true)
mc.nextFrame ();
on the other
mc.prevFrame ();
}function change_page(no:Number):void
{
Page = n + 1;
Play();
}
/*
var default_volume:Number = 0.60; 0.00 to 1.00
var bg_music:Sound = new flashmo_music();
var music_channel:SoundChannel = bg_music.play (0, 10000);
var music_volume:SoundTransform = new SoundTransform();music_volume.volume = default_volume;
music_channel. SoundTransform = music_volume;sound_control. Stop();
sound_control.addEventListener (MouseEvent.CLICK, play_pause);function play_pause(e:MouseEvent):void
{
music_volume.volume = default_volume;
If (e.target.currentFrame == 1)
music_volume.volume = 0;
music_channel. SoundTransform = music_volume;
e.Target.Play ();
}You have embedded fonts?
You can do it following these steps (I use Flash CS4):
Select the textfield object (I think that the fm_label).
In the textfield, character properties, you choose 'character Embedding... ».
There, you can choose "Basic Latin" for example.
Then, add the characters you need and are not in "Basic Latin". For example, n.
The image below shows what I said.
-
Accented characters in tagged text
I write normally copy it into a text editor (TextPad), paste into InDesign and format in the story editor. Now I want to format it in TextPad and import the tagged text. But I find that accented characters on the numeric keypad, as well as other characters most frequently used - €, £-are being misinterpreted. For example R$ 8·25 million (approximately €3 million) is available as a R$ 8a·25 million (topic has ' ¬3 million) and Fundação de Amparo to research do Estado de São Paulo is rendered as Fundaa§a£ o of Amparo to research State of SECURITY£ o Paulo.
I have the options for formatting the text ANSI or DOS file, and I used the headers < ASCII-WIN > and < ANSI-WIN >, but there seems to be no combination that brings the text properly.
Substituting values for these characters Unicode gives me what I want and I can build a library of them to add in TextPad, but this is contrary to my goal more productivity.
Can someone give me a formatting of the options so that I can use the numeric keypad to generate the extended characters in a form that will import as referenced text?
k
Not true. My example starts in Indesign, go to NoteTab (I have no TextPad, but I think that NoteTab is a pretty close contender), then back to Indesign.
Try this: start Notepad, type some ALT characters, paste the ANSI-WINNER header at the top and that import into Indesign. TextPad is perhaps saving as something else than plain text.
Ken
-
Problem with accented characters
Using the UTF-8 encoding in my Flex application (<? xml version = "1.0" encoding = "utf-8"? >).
Using UTF - 8 ranking in the MySQL db and fields.
When I manually insert a line in MySQL (through phpMyAdmin) with accented characters (ie: e, e, e,...), everything works fine.
When I use my Flex application to insert a line (through php (amfphp) script), accented characters are modified when it is kept in the database.
What is happening and what I can do to fix this?
I just stumbled on this pair of days. This has to do with amfphp framework, so go to the gateway.php file and positioned like this: $gateway-> setCharsetHandler ("none", "UTF - 8","UTF - 8"); It worked for me with the same configuration you have.
-
Searches for a string of accented characters
Hi all
I have a db Oracle 9.2. There is a CUSTOMER table with a column called name. The database character set is WE8ISO8859P1. There are 35 million records in the CUSTOMER table, a small minority which have been seized, including accented characters, for example in the field of FAMILY name like o.
I need to determine exactly how many lines contain accented characters and report on them. The majority of the lines do not have accented characters. I need a query that SELECTS only lines whose field NAME contains accented characters. In English, the request to declare these lines would be something like:
SELECT THE LAST NAME OF THE CUSTOMER WHOSE NAME CONTAINS AT LEAST AN ACCENTED CHARACTER;
or expressed differently in
SELECT CUSTOMER NAME WHERE NAME CONTAINS at LEAST ONE CHARACTER < an or > z and < has or > Z;
My string manipulation abilities are not very strong, and I would be grateful if someone could helpI need a query that SELECTS only lines whose field NAME contains accented characters.
SELECT SURNAME FROM CUSTOMER WHERE SURNAME != convert(SURNAME,'us7ascii')
-
Search for accented characters
Hi all
We have a column that has the focus. But when we do research we would like to use no accented characters.
For example, when we type in "ALKARAKPEI", we get "ALKARAKPEI" and "ALKARAKPEI".
ALKARAKPEI = > ALKARAKPEI
DIKPOR = > DIKPOR
Please give me some suggestions and ideal...
Thanks in advance!Maybe
SQL> select * from (select 'ALKARAKPËI' str from dual) where convert (str, 'us7ascii') = 'ALKARAKPEI' / STR ---------- ALKARAKPËI 1 row selected.
-
Problem with Demo_Mail package sending an attachment and special characters
Hello
I did use the Demo_Mail package with the example in the http://www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/Utl_Smtp_Sample.html for many years on my 9i database.
Recently, we have taken a form that depends on this package and quickly found that Asian characters were not correctly in the e-mail subject or body. When I changed the procedure by example, characters came through, however, attachments now appear in the body of the email as ascii.
/*------------------------------------------------------start the email creation--------------------------------------------------------------------*/
Conn: = demo_mail.begin_mail)
sender = > from_name,.
recipient = > to_name,.
subject = > subject,.
mime_type = > "text/plain; charset = utf8');
() demo_mail.write_mb_text
Conn = > conn,.
message = > message | UTL_TCP. CRLF);
If file1 is not null
then
() demo_mail2.begin_attachment
Conn = > conn,.
mime_type = > ' application/octet-stream. "
Online = > FALSE,
v_filename = > file1.
transfer_enc = > 'base64');
file_len: = dbms_lob.getlength (wire);
modulo: = mod (file_len, TN);
parts: = trunc(file_len / amt);
/ * (dbms_lob.read (wire, amt, filepos, buf); * /)
While (counter < = pieces) LOOP
DBMS_LOB. Read (wire, amt, filepos, buf);
demo_mail.write_raw (conn, utl_encode.base64_encode (buf));
filepos: = counter * TN + 1;
counter: = counter + 1;
END LOOP;
/ * Point on the rest of the data buffer * /.
IF (modulo <>0) then
DBMS_LOB. Read (wire, modulo, filepos, buf);
demo_mail2.write_raw (conn, utl_encode.base64_encode (buf));
end if;
() demo_mail.end_attachment
Conn = > conn);
end if;
() demo_mail.end_mail
Conn = > conn);
/*------------------------------------------------------end the email creation--------------------------------------------------------------------*/
How can I have my cake and eat it too? Examples of scripts showing this scenario exist?
In addition, even if I was able to get the body of the email to display special characters, the subject line still displays question marks instead of the special characters. I was never able to solve this problem.
Any help to any of these questions is greatly appreciated!
Thank you
KimYou use the utl_encode.quoted_printable_encode before making all these changes? Most, if not all, of these accented characters must be converted to quoted printable form by the utl_encode.quoted_printable_encode function, then you only need to focus on the specific characters that must be encoded to the channel to cover additional expenditures for the mimeheader encoding. Specifically the white space characters should be encoded as well as the question mark.
Also, I have done some minor testing and it seems that the quoted_printable_encode function folds the text when it exceeds a specific length. If I unfold the coded text object lines seem to come by fine. The folding text string is an equal sign followed by the sequence CRLF, unfold the text is a simple matter of these three characters. These changes becomes the encoding routine encapsulated in a function:
create or replace function mimeheader_encode( p_str varchar2 , p_charset varchar2 := 'UTF-8') return varchar2 is l_str varchar2(2000); begin l_str:=utl_raw.cast_to_varchar2(utl_encode.quoted_printable_encode(utl_raw.cast_to_raw(p_str))); l_str:=replace(l_str,'='||chr(13)||chr(10),''); --unfold the data l_str:=replace(l_str,'?','=3f'); --quote question marks l_str:=replace(l_str,' ','=20'); --quote spaces l_str:='=?'||p_charset||'?Q?'||l_str||'?='; -- add prefix and suffix return l_str; end; /
-
Hi, I don't seem to have accented characters in now the keys on my 6s. Can anyone help please?
- What keyboard do you use?
- What specific characters you seem to be missing?
- What app or apps you see it in (keyboards are contextual ion according to the application)?
-
Question
I pressed (Control) (offset) when to bet and my characters of Gmail (the full screenshot) reduced to about 25 to 35%. How to restore? I already signed my Gmail account, restarted my computer (Windows XP has) nothing works.'Ctrl + 0' (zero) to restore normal size
-
Tecra A9 - keyboard "unlocks" and bad characters are typed
Keyboard "unlocks" and bad characters are typed using the QWERTY layout. Have tried to change the language options with some success in the short term.
However changes in languages quickly becomes "unlocked".
How can I solve this problem?Advice please.
Thanks, MikeHello
To be honest, I don't know what you're talking about.
If your keyboard does not match the language of the keyboard, then you should change that and should add new language.In this case, you will be able to switch between languages, using SHIFT + ALT shortcuts
Of course, you can also remove the other languages. In this case, the SHIFT + ALT will not function.
-
Database Toolbox and Chinese characters
Hi all
I have a problem with a function where users can search inside a Microsoft SQL Server database for a specific entry.
I used the database with the DB tools tool run Query.vi, users can add keyword here for example. 'blue %' inside a control of the chain, then the request is passed to the DB.
(e.g. SELECT field1 FROM TABLE1 WHERE FIELD1 LIKE N 'blue %')
That works very well in the German version.
Now, the application is also used in China. As long as they are looking for ASCII characters everything works fine also. Now, they began to create entries with Chinese characters (which also works), but when they try to pick up some Chinese characters, they do not get a result. (when searching for entries with Chinese AND English characters and search for English characters all works too)
I do not use the Unicode functions, and the database field is an nvarchar.
Unfortunately I don't have a Chinese Version of Windows to do a few tests here.
Anyone an idea what could be the reason (Chinese codepage?) and how to solve this problem?
Thanks and best wishes,
Helmut
LabView 8.5 / Microsoft SQL Server 2008
You can try this test even without changine the code (language of non-unicode programs) page. First change your chain control '-' code display. In the places where the Chinese characters would appear, enter some hexadecimal codes above 7F by fleeing with a '-'. Here are the codes that are traditionally displayed differently depending on the settings of operating system as the language for non-unicode programs.
UPDATE table
Foobar SET = "test\AA\BB\CC\DD."
WHERE the blah - blah
SELECT foobar FROM table WHERE foobar LIKE 'test % '.
The returned string has \AA\BB\CC\DD after test? Now try...
Foobar SELECT FROM table WHERE foobar LIKE '% \AA\BB\CC\DD'
Get something? Try it now with the N prefix...
Maybe you are looking for
-
Apple dvd player will not eject a disc, does not show in the devices
I'm on El Capitan, the player has played other discs, this disc does not appear There is no manual of the dvd drive eject drive does not appear in the devices
-
New problem of scanning Officejet 6500 E710n-z (Macintosh)
Help please before go me crazy! Until this morning, I was happily using my MAC (Osx 10.7.5) and loading of documents into the feeder of documents and using print and scan system prefs option. Open a session of analysis and scannig e-mail. Everything
-
Hello I developed a Web site with Measurement Studio. Everything is OK in the VS environment. But if I use the web browser to visit the Web site, I don't see the image of controls, but only an image of the Red Cross. For example: Fix, using debug VS
-
trying to delete music from my library which is no longer on computer
-
recognition of the camera during attachment problem
New Macbook Pro won't recognize my Nikon 700/800, trying to tie. Old laptop did great.