Printing foreign characters
Hi!
We have a slovenian (SI) customer. He's living in a street, which contains a "" character.
During the printing in the print preview it seems correct.
But on the printed paper, it is not correct.
What can I do (please don't answer, ask basis guys).
Thank you
Tamá
Hi
check this OSS note May be useful
OSS Note: 776507
Symptom
Documents printed via SAPscript or SmartForms do not print with correct special characters, e.g. ### prints instead of Japanese or Russian characters. What to do?
Other terms
SAPscript, SmartForms, printing, device types, OTF
Reason and Prerequisites
Help required to choose proper fonts in a SAPscript or SmartForm
Solution
When using SAPscript or SmartForms to print (or email or fax) a form from a business application, many factors influence the outcome of the actual text within the form. All these factors must be checked in order to ensure a correct printout:
1) The language version of the form used to produce the printout.
Example: If you want to print a French invoice, you need to have a FR version of your SAPscript or SmartForms invoice form RVINVOICE01. And the application program must specify the corresponding language key (FR) when calling the SAPscript or SmartForms API.
2) The font selections specified in the form (possibly also in a SAPscript style or SmartStyle used in a form).
Example: In a SAPscript form or a SmartStyle you need to specify HELVE if you want to print German text in Helvetica (or similar) font. If you want to print Japanese text, HELVE is not a valid choice but you need to specify a Japanese font like JPMINCHO in your Japanese form.
3) The output character set of the device type
Every printer in transaction SPAD has a "device type" assigned. Device types used by the spooler for printing support only one single specific output character set. All text from the form has to be converted (using SAP's built-in character conversion mechanism) to this output character set.
A character set can typically support either a single language (e.g. Shift-JIS which supports only Japanese) or a set of languages (e.g. ISO 8859-1, which supports Western-European languages). It is possible that a given language (such as German) can be supported by several output character sets, e.g. you may use either ISO 8895-1 (Latin-1) or ISO 8859-2 (Latin-2) to represent German text. This is so because both character sets contain the special characters used in German.
Example: HPLJ4000 is a HP LaserJet device type supporting the ISO 8859-1 (Latin-1) character set. ISO 8859-1 can be used to represent e.g. Dutch, English, French, German, Spanish, Swedish but NOT Russian or Japanese.
As a consequence, it is ok to use HPLJ4000 to print English, German French etc. but not for Japanese or Russian.
4) The set of available printer fonts for a given device type
When formatting a document, SAPscript and SmartForms perform an automatic mapping of the font definitions in the form (e.g. "HELVE 14 point bold") and the available printer fonts of the device type. A replacement printer font is chosen, should the specified font selection not be available in the device type. Now this replacement can be problematic if a language-specific font, such as Chinese CNSONG, is specified in a form and it gets replaced by a font which does not support this language, e.g. COURIER.
To solve this problem, font families in SE73 have language attribute assigned, e.g. some fonts are characterized as being suitable only for certain languages. And when a replacement has to be chosen because the original font from the form is not available in the device type, a replacement font is chosen which has the same language attributes.
If no fonts for the language in question exist in the device type, the resulting font will not be able to print the special characters and you will see "wrong" output characters in the printout.
Note on SAPscript/SmartForms Print Preview:
The OTF Print Preview available in Windows GUI (e.g. from transaction SP01) will sometimes not show the "wrong" characters which appear on the final printout. Here is the reason: since the Print Preview runs in Windows environment, it will use Windows fonts to represent the actual printer fonts. A Windows font typically has more available characters (i.e. covers more character sets) than are actually available in a printer's resident font.
A typical example where the Print Preview will differ from the printout is here: if you have a Chinese PCL5 printer such as CNHPLJ4 and use the Western Latin font COURIER in your document, the print preview will show you Chinese characters if you (by accident) tried to format Chinese characters in COURIER font. This is because Windows will automatically choose a font that can output Chinese characters (which is actually not Courier). But when you print the job on an actual PCL5 printer with resident Western and Chinese fonts, the Courier font will not print any Chinese characters but Western special characters instead, because the printer's resident Courier font does not include Chinese characters.
Rule of thumb: all Asian device types (e.g. CNHPLJ4, JPHPLJ4, JPPOST, KPHPLJ4) support not only Asian fonts but also COURIER, HELVE and TIMES fonts. But these Latin fonts can only be used to print English text, not Chinese/Japanese/Korean characters.
Which fonts are suitable for a given language?
Language(s): Font family to use in a form:
Latin-1 (Western Europe/Americas) *******
DE,EN,FR,ES,NL,SV COURIER, HELVE, TIMES
(LETGOTH, LNPRINT)
Latin-2 (Central Europe) ****************
PL, CZ COURIER, HELVE, TIMES
ISO 8859-4 (Baltic) *********************
ET, LT, LV COURIER, HELVE, TIMES
ISO 8859-5 (Cyrillic) *******************
BG, RU, SR, UK COURCYR, HELVCYR, TIMECYR
ISO 8859-7 (Greek) **********************
EL COUR_I7, HELV_I7, TIME_I7
ISO 8859-8 (Hebrew) *********************
HE COURIER, HELVE, TIMES
ISO 8859-9 (Turkish) ********************
TR COURIER, HELVE, TIMES
Simplified Chinese **********************
ZH CNHEI, CNKAI, CNSONG
Japanese ********************************
JA JPMINCHO, DBMINCHO, DBGOTHIC
Korean **********************************
KP KPBATANG, KPDODUM, KPGULIM
KPGUNGSE, KPSAMMUL
Traditional Chinese *********************
ZF TWDPHEI, TWMING, TWSONG
Thai ************************************
TH THANGSAN, THDRAFT, THVIJIT
Arabic (Unicode systems only) ***********
AR ANDALE_J
Verify your output by examining the OTF data
When analysing printing problems of this type, be sure to check the OTF data which gets produced by SAPscript or SmartForms. OTF or "Output Text Format" is the intermediate page-description format generated from SAPscript or SmartForms. OTF will contain the final printer font names and character set/language identifiers which help to solve the problem. OTF will even name the form and the language of the form used to create the output.
The easiest way to do this is to create a spool request from your application, run transaction SP01, use menu
Goto->Display Requests->Settings
and choose
Display Mode: Raw
Now display your spool request. If this is a SAPscript or SmartForms spool request, you will see OTF data. Each line represents one OTF command, every command starts with a 2-character cmd identifier and possibly some cmd parameters follow.
Here is an excerpt from a sample OTF file where we highlight the most interesting commands:
//XHPLJ8000 0700 00000000001
IN04EALEXTEST_ZEBRA
IN05%PAGE1
OPDINA4 P 144 240 1683811906000010000100001
IN06%WINDOW2
MT0024401289
CP11000000E
FCHELVE 120 00109XSF100SF101110000067E X
UL +0000000000000
SW00067
CT00000000
ST0453037Dieses SF hat Stil ALEXTEST_ZEBRA mit
The 1st line with the // (Control) command reveals the device type usedto print: HPLJ8000
//XHPLJ8000 0700 00000000001
The 2nd line (IN = Info command) shows the name and (internal 1-char)language key of the form:
IN04EALEXTEST_ZEBRA
In this case it is the English (E = EN) SmartForm ALEXTEST_ZEBRA
The OP-line (OP = Open Page) gives the page format used in the form, it is DINA4 Portrait orientation:
OPDINA4 P 144 240 1683811906000010000100001
The CP (CodePage) cmd shows the SAP system codepage used to code the text and the active language. In our case it is codepage 1100 and language E = EN = English.
CP11000000E
Finally, the FC-cmd (Font Call) lists a printer font selected within SmartForms. Please note that every SmartForm has a designated default SmartStyle under "Form Attributes->Output Options". In addition, every text node can have a SmartStyle attached (which will override the definitions from the default style for the text). In our case the resulting printer font that was selected is HELVE 12.0 pt bold-off, italic-off.
FCHELVE 120 00109XSF100SF101110000067E X
Header Data
Release Status: Released for Customer
Released on: 22.08.2005 09:57:20
Priority: Recommendations/additional info
Category: Customizing
Primary Component: BC-CCM-PRN Print and Output Management
Secondary Components: BC-SRV-SCR SAPscript
BC-SRV-SSF Smart Forms
Regards
Anji
Similar Messages
-
Hi,I am using Essbase at 6.5.3 level and Analyzer Enterprice edition at 6.5.0 level. The java plug-in is at level 1.3.0_02.Foreign characters are corectly dispalyed in Analyzer java web client, but when I try to print the report the foreign characters are not printed correctly.I have changed the contents of the font.properties file all code pages from 1252 to 1250. The characters are still not printed correctly.How to "force" the Analyzer print the foreign characters to print?Thanks,Grofaty
* "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
* "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]] -
Foreign characters not displaying
Hi... I am developing a web app that includes a database of world cities, many of which have foreign characters in their names. The MySQL database is displaying the characters correctly, but when it comes to displaying them in drop down menus, the foreign characters are displayed as blank boxes.
The application is a J2EE Java app.
In the index.jsp file, in the html section, I have specified various types of character sets, including the standard iso-8859-1 and utf-8, but none make a difference.
The home page with the drop-down menus is at www.your-astrology-report.com/index.jsp. From the pull-down menus, select "International", then "Greece", then "NON-ENGLISH FIRST LETTERS" and you'll see what I mean.
The database code that puts the city names into the drop down menu is as follows, although as a fragment, it's incomplete.
try{
out.print("<select name='city'>");
out.println("<option value='0'>Select Birth Town - Check Region!</option>");
if(letter.equals("?")){
q="select * from "+regid+" where country='"+country+"' AND city NOT RLIKE '^[A-Z]' order by city";
} else {
q="select * from "+regid+" where country='"+country+"' AND city LIKE '"+letter+"%' order by city";//city begins with letter
ResultSet rst=execute_sql_query(q);
int count=0;
while(rst.next()){
out.println("<option value='"+count+"'>"+rst.getString("city")+" - "+rst.getString("subdiv")+" "+SubDiv+"</option>");
count++;
out.println("</select>");
I am very new to Java.
Is there some basic way of telling either the query and/or the out.print statement to get, preserve, and display these foreign characters correctly?
Please keep it simple! Like I said, I'm new to all this, and most of the Google queries I've made to try to figure this out have been gobble-de-gook to me! LOL!
Thanks,
FartianThanks everybody for your suggestions. So far, I'm sorry to say, none of your suggestions have helped, though.
I suspect, though, that the reply concerning character streams (PaulClapham) holds the answer. I just don't know how to implement this in my case, i.e. how to apply this to the out.println statements in the previously given code block. My experience with Java is limited. Any ideas?
I should probably tell you how all this is structured in terms of one file calling another:
First we have the index.jsp (www.your-astrology-report.com/index.htm), which has dynamic input fields, the one in question being this:
<td colspan="2"><div id="cities"><select name="city"><option value="">Select City</option></select></div></td>
<td colspan="2">Select First Letter of City First!</td>div id="cities" refers to a function in a second file, xmlhttp.jsp, which is called by the dynamic input field located just above the "cities" field.
Here is the function:
function handleCityU(regid_letter_country){
document.getElementById("cities").innerHTML="Loading cities...";
url="internal_requestU2.jsp?regid_letter_country="+regid_letter_country.value;
var xmlhttp=myXMLHttpRequest();
xmlhttp.open("GET",url,true);
xmlhttp.onreadystatechange=function() {
if(xmlhttp.readyState!=4)return;
document.getElementById("cities").innerHTML=xmlhttp.responseText;
xmlhttp.send(null);
}This function passes the variable "regid_letter_country.value" to yet another file that then parses the variable, requests the required database data, and creates the out.println statements that then populate the dynamic pull-down menu that displays the cities in the original index.jsp file.
THIS IS WHERE I NEED IT TO BE DISPLAYING INTERNATIONAL CHARACTERS. The code for this part is what I originally posted.
Help!
Many thanks...
Edited by: Fartian on Mar 20, 2008 7:49 PM -
Cannot read foreign characters!!!
Requirement: Read a text file containing foreign characters and print it/ store it in string buffer
Problems: Doesnt work, and throws exception whenever Reader.read() or BufferedReader.readline()
method is envoked...
How do i get arround this?
Here is a sample text from the file...
Ang�ende utleggelse av kopierte lydfiler i CVS8 format via internett � f� fjernet p� denne e-mail n�dt til � bemerke
here is the sample program:
import java.io.*;
public class LoadUTF8 {
private static String _FILE = null;
public static void main(String args[]) {
_FILE = args[0];
try {
System.out.println(getUTF8());
catch(Exception e) {e.printStackTrace();}
try {
loadUTF8Data();
catch(Exception e) {e.printStackTrace();}
public static String getUTF8() {
StringBuffer buffer = new StringBuffer();
try {
FileInputStream fis = new FileInputStream(_FILE);
InputStreamReader isr = new InputStreamReader(fis, "UTF8");
Reader in = new BufferedReader(isr);
int ch;
while ((ch = in.read()) > -1) {
buffer.append((char)ch);
in.close();
return buffer.toString();
} catch (IOException e) {
e.printStackTrace();
return null;
public static void loadUTF8Data() {
try
InputStream in = new FileInputStream(_FILE);
BufferedReader reader = new BufferedReader(new InputStreamReader(in, "UTF8"));
String line = null;
StringBuffer buffer = new StringBuffer();
while ( ( line = reader.readLine() ) != null ) // Read line until EOF
buffer.append( line + "\n" );
System.out.println("" + buffer.toString() + "");
catch(Exception e) {
e.printStackTrace();
Error Message:
sun.io.MalformedInputException
at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java:110)
at java.io.InputStreamReader.convertInto(InputStreamReader.java:137)
at java.io.InputStreamReader.fill(InputStreamReader.java:186)
at java.io.InputStreamReader.read(InputStreamReader.java:249)
at java.io.BufferedReader.fill(BufferedReader.java:139)
at java.io.BufferedReader.read(BufferedReader.java:157)
at mtrack.cda.utils.LoadUTF8.getUTF8(LoadUTF8.java:25)
at mtrack.cda.utils.LoadUTF8.main(LoadUTF8.java:15)
NB:- It works fine with normal text files that doesn't have any foreign character!
If either of getUTF8() or loadUTF8Data() functions work, i will be very happy!!! :-)Hi Pratim,
Your code is absolutely correct and can be adapted to read in any foreign characters as long as you create your InputStreamReader with the same encoding that was used to write the file you are trying to read. By default, java encodes files in a format called Cp1252. Cp1252 can be used to encode ASCII characters (\u0000->\u007f) + an extended region (\u0080->\u00ff). This extended region contains, among other characters, the extra characters used by languages like Spanish, German etc. To read such a file, change your code to:
InputStreamReader isr = new InputStreamReader(fis, "Cp1252"); However, if one wants to encode characters beyond \u007f (for example, Chinese, Hindu, Russian etc.) then one cannot use Cp1252 encoding. Frequently, such characters are encoded using UTF8 (Unicode Transformation Format 8). UTF8 is capable of encoding the entire unicode character set. There are many many different encodings supported by java. The point is that you must to use the same encoding to read back the characters as was used to store them.
I suggest that you experiment with writing characters to files and reading them back into java using different encodings. You already have the code to read the characters. To write the files, you can either use Microsoft Word or you can write code analogous to your code above except using the OutputStreamWriter. It will also be helpful to you if you have some way of examining the bytes in your output files.
Regards,
Joe -
How to print Arabic characters in Oracle BI Publisher report
Dear Experts,
Kindly suggest me how to print arabic characters in BI Publisher.
Regards,
Mohansee link
https://blogs.oracle.com/BIDeveloper/entry/non-english_characters_appears -
How to print Special Characters in Sap-Scripts
How to print Special Characters in Sap-Scripts
Thanks,
RaviHi
if u want print special characters we can use hot codes i.e ' ' (single inverted commas). in between these hot codes insert u r special characters.
write ' !@#$%^&*( ) '.
for the above write statement output is
output is !@#$%^&*( ) -
Photoshop CS3 printing garbage characters on HP LaserJet 1300
After installing CS3, Photoshop prints garbage characters on my HP LaserJet 1300.
Yes, I have tried printing as ASCII, ASCII85, Binary and JPEG - nothing helps (plus the settings won't stick even after holding down Alt and clicking the Remember button).
The only way to print right now is to choose Save as PDF in the print dialogue, open the PDF in Adobe Reader and print from there.
Any ideas?tzw - I responded about this on another forum. I talked to technical support at Adobe about this exact issue about 2 months ago - can't print photoshop CS3 on any of my three HP printers. ( I have a HP1200, an HP 2550 and a HP photosmart 7660) (CS2 works fine) They worked with me for about an hour - called me back and worked some more, and then decided to send it up to the programmers (or engineers or whatever) The programmers called me and worked with me for another hour - trying different set-ups etc., but the conclusion by them was that this was a huge problem in that there were a lot of HP printers out there - that they were going to give this their top priority - and that there would be a fix for this soon. (I have yet to see a fix.)
-
Dynamic Text Field is not displaying foreign characters... HELP!
I have a dynamic text field that is not displaying foreign characters properly. They appear as boxes.
Here's what I've tried.
Under properties for the text field, I clicked on the embed characters button. In there, I pasted all the special characters I would need and clicked okay. Shouldn't this be enough for the text to display properly? What am I missing? Please help...More info: I'm noticing that in the actual dynamic text field in my .FLA file, if I type a foreign character like é, it pops up as a block. My family font is set to New Caledonia... is it possible that New Caledonia doesn't have those particular glyphs? The thing that doesn't make sense to me though is, last year when I made this card, it worked fine with New Caledonia... Any help is greatly appreciated!!
-
When i print a pdf from preview it prints strange characters - it looks fine on screen
when i print a pdf from preview it prints strange characters - it looks fine on screen
You can also try opening the PDF with preview, then doing a copy and paste to TextEdit and printing from there.
Adobe makes it easier, but you do have software to accomplish this.
Only download Adobe reader from this site, to avoid "fakes/spoofs/malware" that will cause damage to your machine.
http://www.adobe.com/support/downloads/product.jsp?platform=macintosh&product=10
Hope this helps -
When typing in gmail (firefox) or thunderbird, randomly foreign characters will be produced like the keyboard has been set to spanish or french, but it is set to english, and the character encoding is set to what it is supposed to be. Web pages appear correctly.
Application Basics
Name
Firefox
Version
10.0.12
User Agent
Mozilla/5.0 (Windows NT 5.1; rv:10.0.12) Gecko/20100101 Firefox/10.0.12
Profile Directory
Open Containing Folder
Enabled Plugins
about:plugins
Build Configuration
about:buildconfig
Crash Reports
about:crashes
Memory Use
about:memory
Extensions
Name
Version
Enabled
ID
F5 Networks Host Plugin
7000.2011.0910.0354
true
{DBBB3167-6E81-400f-BBFD-BD8921726F52}
IE Tab 2 (FF 3.6+)
4.12.22.2
true
{1BC9BA34-1EED-42ca-A505-6D2F1A935BBB}
Microsoft .NET Framework Assistant
0.0.0
false
{20a82645-c095-46ed-80e3-08825760534b}
Skype Click to Call
6.5.0.11422
false
{82AF8DCA-6DE9-405D-BD5E-43525BDAD38A}
Modified Preferences
Name
Value
accessibility.typeaheadfind.flashBar
0
browser.places.smartBookmarksVersion
2
browser.startup.homepage
http://ca.search.yahoo.com?type=386496&fr=spigot-yhp-ff
browser.startup.homepage_override.buildID
20130103094221
browser.startup.homepage_override.mstone
rv:10.0.12
browser.tabs.warnOnClose
false
dom.ipc.plugins.enabled.npietab2.dll
true
extensions.lastAppVersion
10.0.12
gfx.blacklist.layers.direct3d9
2
keyword.URL
http://search.yahoo.com/search?fr=greentree_ff1&ei=utf-8&ilc=12&type=386496&p=
network.cookie.prefsMigrated
true
places.database.lastMaintenance
1358793548
places.history.expiration.transient_current_max_pages
51968
privacy.cpd.siteSettings
true
privacy.sanitize.migrateFx3Prefs
true
privacy.sanitize.timeSpan
0
security.warn_viewing_mixed
false
Graphics
Adapter Description
NVIDIA GeForce 6150 LE
Vendor ID
10de
Device ID
0241
Adapter RAM
Unknown
Adapter Drivers
nv4_disp
Driver Version
9.1.4.8
Driver Date
8-16-2006
Vendor ID (GPU #2)
00ad
Device ID (GPU #2)
00ad
Adapter RAM (GPU #2)
Unknown
Adapter Drivers (GPU #2)
Unknown
Driver Version (GPU #2)
2.1.3.0
Driver Date (GPU #2)
1-1-2007
WebGL Renderer
Google Inc. -- ANGLE (NVIDIA GeForce 6150 LE) -- OpenGL ES 2.0 (ANGLE 0.0.0.809)
GPU Accelerated Windows
0/1. Blocked for your graphics driver version.It is possible that you have switched the keyboard layout by accident.
* http://support.microsoft.com/kb/258824 - How to change your keyboard layout
Windows remembers the keyboard layout setting per application and you may have changed the keyboard layout by accident via a keyboard shortcut.
* http://support.microsoft.com/kb/306993 - HOW TO: Use the Language Bar in Windows XP
* Make sure that you have the Language bar visible on the Windows Taskbar
* You can do that via the right-click context menu of the Taskbar: Toolbars > Language Bar
* Check the keyboard language (keyboard layout) setting for the application that has focus via the icon on the Language bar
* You need to do that while Firefox has focus because Windows remembers the keyboard layout setting per application
* The default key combination to rotate the layout is the Ctrl+Shift or Alt+Shift combination that Firefox uses for some menu items
* To avoid an unintentional switch, assign a specific key sequence (Alt/Ctrl+Shift+number) to select keyboard layouts and remove the key combination to rotate layouts (Alt+Shift or Ctrl+Shift)
* Control Panel > Regional and Language Options > Languages > Text services and input languages > Details > Key Settings > Change Key Sequence -
ITunes crashes on attempt to play media with foreign characters
Recently, over the last few versions I have been unable to play any of my media that includes foreign characters, be it Asian characters or accented Roman characters. The fact of the matter is that upon attempting to play a song / audiobook / movie with a foreign character iTunes crashes.
I am using iTunes 10.6.1.7 on Windows 7 64-bit in English (UK) with non-unicode set to Japanese.
Windows crash report:
Problem signature:
Problem Event Name: BEX
Application Name: iTunes.exe
Application Version: 10.6.1.7
Application Timestamp: 4f71aced
Fault Module Name: amip.dll
Fault Module Version: 2.6.7.0
Fault Module Timestamp: 4b63548c
Exception Offset: 000b5954
Exception Code: c000000d
Exception Data: 00000000
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 2057
Additional Information 1: 3191
Additional Information 2: 319160cfbcc1295d9ca9b4d448d8f7e3
Additional Information 3: 62c3
Additional Information 4: 62c3b5fb8ab287fc898b342b661d3806
The media with foreign characters syncs with my iPhone okay, and will play without issue on it; just iTunes is unable to play said media on my computer, which is highly frustrating.
I would be appreciative if someone has found and would share any work-around to this problem. Thanks.I still have no thorough concept on how I have solved this but I suppose if anyone else has encountered this issue I can share how I worked around it:
I changed my windows system non-unicode locale back to its default (English UK).
I then installed Microsoft AppLocale to handle the programs that would be affected.
For experimental reasons I then set my iTunes executable to have Japanese locale through the AppLocale program.
It now operates fine and will play files with foreign characters.
Try it if you experience the problem's I've been having. -
Printer has been setup in one server but it's printing Junk characters
Printer has been setup in one server but it's printing Junk characters
Pdf file's sent from server and from local machine are printing fine..But prints sent from Oracle Reports are not getting printed, instead it is printing some garbage contents.Forgot to mention it's 10gAS (10.1.2.3) forms & reports
-
Foreign Characters in Windows Vista AutoPlay Dialog Box
I have an iPhone 3G, using Vista. Upgraded to iTunes 8 (really like the changes so far), and also upgraded to 2.1 (so far so good), but have found a strange behavior when I connect my iPhone to my computer. I have searched the forums and have not found anyone discussing this yet.
As per usual, the AutoPlay dialog box opens, asking me if I want to view or import pictures, but my device is now called "iPhone 㽳筨緾", or at least that's the most recent name. I have discovered that in my registry there is a key called
[HKEYCURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerAutoplayHandlersKnownD evicesWpdDeviceHandler_USB#VID_05AC&PID_1292&MI00#0]
that I suspect is causing the problem. I can edit the name of my device back to "iPhone", but every time I reconnect it, the name changes, and it has never been the same. I have shown 2 examples below:
Edited version: [HKEYCURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerAutoplayHandlersKnownD evicesWpdDeviceHandler_USB#VID_05AC&PID_1292&MI00#0]
"\\\\?\\USB#VID05AC&PID_1292&MI00#0#{6bdd1fc6-810f-11d0-bec7-08002be2092f}"=""
"Label"="iPhone"
"Icon"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,75,00,\
73,00,62,00,61,00,61,00,70,00,6c,00,72,00,63,00,2e,00,64,00,6c,00,6c,00,2c,\
00,2d,00,31,00,30,00,31,00,00,00
"\\\\?\\USB#VID05AC&PID_1292&MI00#0#{6ac27878-a6fa-4155-ba85-f98f491d4f33}"=""
Reconnect #1:
[HKEYCURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerAutoplayHandlersKnownD evicesWpdDeviceHandler_USB#VID_05AC&PID_1292&MI00#0]
"\\\\?\\USB#VID05AC&PID_1292&MI00#0#{6bdd1fc6-810f-11d0-bec7-08002be2092f}"=""
"Label"="iPhone㽳燰"
"Icon"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,75,00,\
73,00,62,00,61,00,61,00,70,00,6c,00,72,00,63,00,2e,00,64,00,6c,00,6c,00,2c,\
00,2d,00,31,00,30,00,31,00,00,00
"\\\\?\\USB#VID05AC&PID_1292&MI00#0#{6ac27878-a6fa-4155-ba85-f98f491d4f33}"=""
Reconnect #2:
[HKEYCURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerAutoplayHandlersKnownD evicesWpdDeviceHandler_USB#VID_05AC&PID_1292&MI00#0]
"\\\\?\\USB#VID05AC&PID_1292&MI00#0#{6bdd1fc6-810f-11d0-bec7-08002be2092f}"=""
"Label"="iPhone㽳筨緾"
"Icon"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,75,00,\
73,00,62,00,61,00,61,00,70,00,6c,00,72,00,63,00,2e,00,64,00,6c,00,6c,00,2c,\
00,2d,00,31,00,30,00,31,00,00,00
"\\\\?\\USB#VID05AC&PID_1292&MI00#0#{6ac27878-a6fa-4155-ba85-f98f491d4f33}"=""
I hope these foreign characters are coming across in this message, they show up right now as I type.
My suspicion is something in the .dll file that points to the icon, but I'm not a computer person by training.
I hope my description of the problem has been adequate. Anyone else experiencing this behavior as well?I am also having the same issue since my updates, and i find that the extra characters change (without me doing anything) each time i connect my iphone to my computer (vista).
Also since the updates, i was getting the blue screen of death when connecting my iphone to my pc, but after re-downloading the software & re-installing, i have not had any issues in regards to my pc crashing.
Not sure if the two are related somehow or if something has become corrupt on my pc.
Is there any information on this one yet?
Cheers,
Shelle -
SQL Loader and foreign characters in the data file problem
Hello,
I have run into an issue which I can't find an answer for. When I run SQL Loader, one of my control files is used to get file content (LOBFILE) and one of the fields in the data file has a path to that file. The control file looks like:
LOAD DATA
INFILE 'PLACE_HOLDER.dat'
INTO TABLE iceberg.rpt_document_core APPEND
FIELDS TERMINATED BY ','
doc_core_id "iceberg.seq_rpt_document_core.nextval",
-- created_date POSITION(1) date "yyyy-mm-dd:hh24:mi:ss",
created_date date "yyyy-mm-dd:hh24:mi:ss",
document_size,
hash,
body_format,
is_generic_doc,
is_legacy_doc,
external_filename FILLER char(275) ENCLOSED by '"',
body LOBFILE(external_filename) terminated by EOF
A sample data file looks like:
0,2012-10-22:10:09:35,21,BB51344DD2127002118E286A197ECD4A,text,N,N,"E:\tmp\misc_files\index_testers\foreign\شیمیایی.txt"
0,2012-10-22:10:09:35,17,CF85BE76B1E20704180534E19D363CF8,text,N,N,"E:\tmp\misc_files\index_testers\foreign\ลอบวางระเบิด.txt"
0,2012-10-22:10:09:35,23552,47DB382558D69F170227AA18179FD0F0,binary,N,N,"E:\tmp\misc_files\index_testers\foreign\leesburgis_á_ñ_é_í_ó_ú_¿_¡_ü_99.doc"
0,2012-10-22:10:09:35,17,83FCA0377445B60CE422DE8994900A79,binary,N,N,"E:\tmp\misc_files\index_testers\foreign\làm thế nào bạn làm ngày hôm nay"
The problem is that whan I run this, SQL Loader throws an error that it can't find the file. It appears that it can't interpret the foreign characters in a way that allows it to find that path. I have tried adding a CHARACTERSET (using AL32UTF8 or UTF8) value in the control file but that only has some success with Western languages, not the ones listed above. Also, there is no set of defined languages that could be found in the data file. It essentaially could be any language.
Does anyone know if there is a way to somehow get SQL Loader to "understand" the file system paths when a folder and/or file name could be in some other langauge?
Thanks for any thoughts - PeterThanks for the reply Harry. If I try to open the file in various text editors like Wordpad, Notepad, GVIM, andTextpad, they all display the foreign characters differently. Only Notepad comes close to displaying the characters properly. I have a C# app that will read the file and display the contents and it renders it fine. If you look at the directory of files in Windows Explorer, they all are displayed properly. So it seems things like .Net and Windows have some mechanism to understand the characters in order to render them properly. Other applications, again like Wordpad, do not know how to render them properly. It would seem that whatever SQL Loader is using to "read" the data files also is not rendering the characters properly which prevents it from finding the directory path to the file. If I add "CHARACTERSET AL32UTF8" in the control file, all is fine when dealing with Western langauges (ex, German, Spanish) but not for the Eastern languages (ex. Thai, Chinese). So .... telling SQL Loader to use a characterset seems to work, but not in all cases. The AL32UTF8 is the characterset that the Oracle database was created with. I have not had any luck if I try to set the CHARACTERSET to whatever the Thai character set is, for example. There problem there though is that even if that did work, I can't target specific lagauages because the data could come from anywhere. It's like I need some sort of global "super set" characterset to use. It seems like the CHARACTERSET is the right track to follow but I am not sure, and even if it is, is there a way to handle all languages.
Thanks - Peter -
Image with foreign characters in name won't display
I have an image on my drive whose name has foreign characters ("c�pia de frente.jpg"). To display the image my JSP reads the image name from the database and generates the following html:
<img src="../pictures/c�pia de frente.jpg">The page then displays a broken image icon for this image. Images in the same list which do not have foreign chars get displayed accurately. When I choose "show image.." in my browser I see that the image name has been rewritten into the following: c%C3%B3pia%20de%20frente.jpg. The rewriting that will display the image is instead c%F3pia%20de%20frente.jpg. I found the correct rewriting on another of my JSP where the image with the foreign chars actually gets displayed correctly although the code to generate the html is the same on both pages and looks something like this (simplified):
<logic:iterate id="listelement" name="list" property="rows" scope="request" type="org.apache.commons.beanutils.DynaBean">
<%
out.write("<img src=\"../pictures/"+listelement.get("name").toString()+"\">");
%> <br>
</logic:iterate> Every image that doesn't have foreign chars in its name gets displayed accurately but images with foreign chars in their names won't display. What am I doing wrong?
Thanks
NiklasThanks, but it doesn't seem necessary to replace foreign characters. It works without replacing in one place but not in another which is confusing. I think it is something with the enconding but can't see what the difference is between the working and non-working code. In both pages I have put <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">I'd greatly appreciate any more suggestions to solve this problem.
Maybe you are looking for
-
How to enforce the position of a table in a master slide?
I'm trying to create a new theme from scratch. I've made changes to color schemes, borders and default font for a table. This work fine, however, i can't get the table to show up in a specific position on the slide. It always overlaps with the slide
-
Firefox is blocking (crushing) after the last update.
Hello there. My Firefox is blocking (crushing) after the last update, which happened few days ago i think or maybe sooner. Ive noticed that happens every time i send a mail from Hotmail's web mail, and several times while i was doing really nothing (
-
I updated to 10.6.8 and my internal camera isn't working
I need help getting my camera working i've went into facetime/photo booth and it reads no camera connected i've also tryed to to login as a dfferent user it still reads no camera ive also went into system profiler and it does not come up
-
Reg.SAP Oil & Gas Certification
Hi all, I need all your suggestion. I am looking to do SAP IS Oil & Gas Certification.Rightly I am working as SAP PP Consultant.I have good domain experience of 5 years in manufacturing industry covering all Functions but maximum experience in Produc
-
I changed my operating system from vista to 7. My laptop often overheats and damaged my hard drive so i had to buy a new one. webcam and speaker works but no mic.