Charset versus InputStreamReader: incoherence with Cp037
Hello
I am tring to use the java.nio.Charset class and it seems incoherent with the InputStreamReader support of various encoding scheme, specialy the EBCDIC IBM US one: Cp037...
java version "1.4.1_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_02-b06)
Java HotSpot(TM) Client VM (build 1.4.1_02-b06, mixed mode)
What's wrong with this code!!!
* @author Francis ANDRE
import java.io.*;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
import java.nio.charset.*;
import java.nio.charset.Charset;
import java.nio.charset.CharsetDecoder;
import java.nio.charset.CharsetEncoder;
public class EBCDIC {
String charset;
EBCDIC(String charset) {
this.charset = charset;
InputStreamReader open(InputStream is) throws UnsupportedEncodingException {
InputStreamReader isr = new InputStreamReader(is, charset);
return isr;
void read(InputStreamReader is) throws IOException {
String css = is.getEncoding();
System.out.println(css);
char[] ib = new char[4];
is.read(ib);
System.out.println(ib);
void decode(byte[] in) {
Charset charset = Charset.forName("Cp037");
CharsetDecoder decoder = charset.newDecoder();
ByteBuffer bytes = ByteBuffer.wrap(in);
CharBuffer chars = null;
try {
chars = decoder.decode(bytes);
} catch (CharacterCodingException e) {
System.err.println("Error decoding");
System.exit(-1);
public static void main(String[] args) {
// Convert.main(null);
try {
EBCDIC ebcdic = new EBCDIC("Cp037");
byte[] in = {(byte) 0xF1, (byte) 0xF2, (byte) 0xF3, (byte) 0xF4 };
ByteArrayInputStream bais = new ByteArrayInputStream(in);
InputStreamReader isr = ebcdic.open(bais);
ebcdic.read(isr);
System.out.println(Charset.availableCharsets() );
System.out.println("Is Cp037 supported: " + Charset.isSupported("Cp037"));
ebcdic.decode(in);
} catch (Exception e) {
e.printStackTrace();
C: java EBCDIC
Cp037
1234
{Big5=Big5, Big5-HKSCS=Big5-HKSCS, EUC-CN=EUC-CN, EUC-JP=EUC-JP, euc-jp-linux=eu
c-jp-linux, EUC-KR=EUC-KR, EUC-TW=EUC-TW, GB18030=GB18030, GBK=GBK, ISCII91=ISCI
I91, ISO-2022-CN-CNS=ISO-2022-CN-CNS, ISO-2022-CN-GB=ISO-2022-CN-GB, ISO-2022-KR
=ISO-2022-KR, ISO-8859-1=ISO-8859-1, ISO-8859-13=ISO-8859-13, ISO-8859-15=ISO-88
59-15, ISO-8859-2=ISO-8859-2, ISO-8859-3=ISO-8859-3, ISO-8859-4=ISO-8859-4, ISO-
8859-5=ISO-8859-5, ISO-8859-6=ISO-8859-6, ISO-8859-7=ISO-8859-7, ISO-8859-8=ISO-
8859-8, ISO-8859-9=ISO-8859-9, JIS0201=JIS0201, JIS0208=JIS0208, JIS0212=JIS0212
, Johab=Johab, KOI8-R=KOI8-R, Shift_JIS=Shift_JIS, TIS-620=TIS-620, US-ASCII=US-
ASCII, UTF-16=UTF-16, UTF-16BE=UTF-16BE, UTF-16LE=UTF-16LE, UTF-8=UTF-8, windows
-1250=windows-1250, windows-1251=windows-1251, windows-1252=windows-1252, window
s-1253=windows-1253, windows-1254=windows-1254, windows-1255=windows-1255, windo
ws-1256=windows-1256, windows-1257=windows-1257, windows-1258=windows-1258, wind
ows-936=windows-936, windows-949=windows-949, windows-950=windows-950}
Is Cp037 supported: false
java.nio.charset.UnsupportedCharsetException: Cp037
at java.nio.charset.Charset.forName(Charset.java:428)
at EBCDIC.decode(EBCDIC.java:40)
at EBCDIC.main(EBCDIC.java:67)
http://java.sun.com/j2se/1.4.1/docs/guide/intl/encoding.doc.html
as you can see, cp037 is not (yet?) supported by java.nio.
Similar Messages
-
Is there a way to force the charset to utf-8 with the IIS plug-in?
We're using AJAX. The initial request for the HTML has charset=utf-8 set on the HTTP header as seen in this Live HTTP Headers capture:
http://plper.mysite.com/mysupport/index.jsf
GET /mysupport/index.jsf HTTP/1.1
Host: plper.mysite.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: mysiteSiteUrl=http://www.mysite.com; Amysession=aHR0cDovL3BscGVyLmVtYy5jb206ODAv; JSESSIONID=FN3WLTNJFJCfYhHHVrwKvLHF2gGdnnTb11DrCyZqR9YbGhcG28lK!-1728721171; mysession=AAAAAgABAFBy5LRMDmjSRCN%2FByvfquVwFeKCpmES4x9lReRava35fxKfwcbJimb3YyPhEd0vBq7ZxgJVecL475TFZwQuSphLOwRWAQw2t7PEW%2BrxsfxgnQ%3D%3D
HTTP/1.x 200 OK
Date: Tue, 10 Jun 2008 18:53:01 GMT
Server: Microsoft-IIS/6.0
Cache-Control: no-store,no-cache,must-revalidate, no-cache="set-cookie"
Pragma: No-cache
Transfer-Encoding: chunked
Content-Type: text/html;charset=UTF-8
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Set-Cookie: JSESSIONID=09VTLTNWT07LlqnK22jTWwM8y5L9v1rmPf9CTW5TnGGKBvWvjJpP!-1728721171; path=/
Content-Language: en-US
X-Powered-By: Servlet/2.5 JSP/2.1
Subsequent requests do not:
http://plper.mysite.com/mysupport/index.jsf
POST /mysupport/index.jsf HTTP/1.1
Host: plper.mysite.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Accept: application/x-backbase+xml,application/xhtml+xml,application/xml,text/xml,application/x-www-form-urlencoded,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Referer: http://plper.mysite.com/mysupport/index.jsf
Content-Length: 122
Cookie: mysiteSiteUrl=http://www.mysite.com; Amysession=aHR0cDovL3BscGVyLmVtYy5jb206ODAv; JSESSIONID=09VTLTNWT07LlqnK22jTWwM8y5L9v1rmPf9CTW5TnGGKBvWvjJpP!-1728721171; mysession=AAAAAgABAFBRtE5lAyr85YM0aIap%2Bekf1Qu8FoA6BNh4JVl1JgvDNDQgYrQm5m9W%2FQa4HLK767CtXV5c%2FhtXchbug9%2BE1zoCmqSBqqYmqXE9VG1lXi%2F%2Brg%3D%3D
Pragma: no-cache
Cache-Control: no-cache
BackbaseClientDelta=%5Bevt%3DsrQuery%3AsiteList%7Cevent%7Csubmit%5D%5Bvalue%3DsrQuery%3AsiteList%7Cmultivalue%7C3971957%5D
HTTP/1.x 200 OK
Date: Tue, 10 Jun 2008 18:58:17 GMT
Server: Microsoft-IIS/6.0
Content-Length: 1720
Content-Type: text/xml
X-Powered-By: Servlet/2.5 JSP/2.1
Is there a way to force requests going through the proxy plug-in to get a charset=utf-8 set in the HTTP header for all requests?
Thanks!
Edited by f2racer at 06/10/2008 12:01 PMIf for some reason you have failed to maintain a backup copy of your computer ( not good), then transfer purchases form your ipod.
Without syncing, click File>Transfer Purchases -
Problem 1 in my person form: hitting ora-1401 (view with check option).
In an earlier stage I had a table PERSON and a table ENSEMBLE.
At some stage I decided it was not handy I was storing performing musicians in two different tables.
So I set up a supertype, CONTRIBUTOR. PERSON is now a view on CONTRIBUTOR.
The attribute IS_NATURAL_PERSON makes the record listed in person.
The view definition is
CREATE OR REPLACE FORCE VIEW "PARTITUREN"."PERSON" ("ID", "FIRST_NAME",
"MIDDLE_INIT", "LAST_NAME", "GIVEN_NAME", "SORT_KEY", "DISPLAY_VALUE",
"GENDER", "DATE_OF_BIRTH", "DATE_OF_BIRTH_APPROX", "LOCATION_OF_BIRTH",
"DECEASED", "DATE_OF_DEATH", "DATE_OF_DEATH_APPROX", "LOCATION_OF_DEATH",
"NATIONALITY", "ANV_ID", "NUMBERING_SYSTEM", "OPUSNUMBERS", "PORTRAIT",
"MIME_TYPE", "FILE_NAME", "IS_NATURAL_PERSON", "LWTIMEST", "CREATED_BY",
"CREATED_TS", "UPDATED_BY", "UPDATED_TS")
AS
SELECT
id,
first_name,
middle_init,
last_name,
given_name,
sort_key,
display_value,
gender,
date_of_birth,
date_of_birth_approx,
location_of_birth,
deceased,
date_of_death,
date_of_death_approx,
location_of_death,
nationality,
anv_id,
numbering_system,
opusnumbers,
portrait,
mime_type,
file_name,
is_natural_person,
created_ts lwtimest,
created_by,
created_ts,
updated_by,
updated_ts
FROM
contributor
WHERE
is_natural_person='Y'
WITH CHECK OPTION;When I enter a record in Apex, I have the is_natural_person attribute default to Y.
However I always hit ora-1401.
It works in sql*developer and sql*plus.
I now always have to resort to non-Gui tools to enter someone. This is nasty.
Oracle 11.2.0.1, Apex 4.0.0.0.46
Sybrand Bakker
Senior Oracle DBAHello .
Some NLS charsets (such as UTF8) require more than one byte to store accented characters like "Ȩ", "ȿ", "�", "�", "ȵ", "ȭ" in the database.
For example, when a 10 character string is inserted into a varchar2(10) column, the above messages may be signaled if your string contains accentuated characters such as "Ȩ", "ȿ", "�", �", "ȵ", "ȭ". used in languages like German
One solution
If the UTF8 NLS charset is being used with French, German ... characters in an Oracle database, then the size of the target column length should be set accordingly.
Set the NLS_LANGUAGE and NLS_CHARACTERSET database parameters.
One approach is to change the Database settings as follows:
ALTER DATABASE CHARACTER SET WE8ISO8859P1;
SHUTDOWN IMMEDIATE
Onother
According to the Oracle documentation, column length semantics determine whether the length of a column is specified in bytes or in characters. You use BYTE to specify that the length is in bytes, and you use CHAR to specify that the length is in characters. CHAR length semantics is also known as codepoint length semantics.
Because some character sets require more than one byte for each character, a specification of 10 BYTE for a column might actually store less than 10 characters for certain character sets, but a 10 CHAR specification ensures that the column can store 10 characters, regardless of the character set.
You set the length semantics for an Oracle database using the NLS_LENGTH_SEMANTICS initialization parameter, and all VARCHAR2 and CHAR columns use the setting specified for this initialization parameter as the default. If this initialization parameter is not set, then the default setting is BYTE.
Edited by: Mortus on Jun 28, 2011 2:57 PM -
Trying to buy tickets for Sagrada Familia in Barcelona with ticketmaster - cannot get it to work - using safari 6.0.5 and 10.7 Lion. Will not complete task - cannot even get to the part where I am asked for payment type. Stalls and /or gives error message
Carolyn Samit wrote:
Go to ~/Library/Safari
Move the WebpageIcons.db file to the Trash.
Quit and relaunch Safari.
It may take several days for the webapge icons to re populate.
Hi Carolyn,
I haven't had any problems with Safari crashing or performing poorly. Safari has always run very well for me. My only problem is this one with the web page icons. I understand your suggestion per trashing the existing Webpageicons.db file (versus replacing it with an archived backup).
When you say that it "...may take several days for the webpage icons to re-populate...", do you mean that the icons will re-populate automatically?... or rather that they'll repopulate as I visit the individual websites. I ask because I have hundreds of bookmarks and I don't want to have to visit each site to reestablish its web page icon in my bookmarks. I went through this once before on a Safari update and literally spent hours visiting site after site to reestablish the webpage icons. Can you please clarify?
Thanks for your help! -
Problem with german special characters in APEX
Hi,
we have a problem with all the special characters in german language in our Application.
APEX version 3.1.0.00.32 is installed on a oracle database 9.2.0.6.0
The nls_characterset of the database is: American_America.WE8ISO8859P1
We have modified the wdbsvr.app file on our HTTP-Server like it's shown in the installationguide for APEX and have set the nls_lang parameter to American_America.AL32UTF8.
If I look at the source code of the html-pages of our application, there are already the following settings in the header of every page:
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
With this settings all the german special characters like ä ö ü are not shown correctly in the browser.
What can I do that the pages are shown correctly?
Thanks for help!Hi Petra,
ok, so my guess was correct. So the solution is to set the charset attribute in the HTML header to "charset=UTF-8". This is actually the way it should be. But I'm wondering why it is not in your case? Are you using a custom template for the page(s) in question where the charset attribute is set to a custom value? The meta tags in the HTML header are usually set by/through the #HEAD# substitution string in the header definition section of the page template, cp. one of the page templates in Shared Components --> Templates. And as far as I know you are not able to change this substitution string, you can only switch the inclusion on/off with the option "Include Standard CSS and JavaScript" in each page definition. (I might be mistaken, though, I'm quite new to APEX...)
Regards
Frank -
FabricInvocationException_Error at the callback forCAVS Testing with AIA3.1
While testing the ProviderABCS from CAVS with aTest Definition (With out simulator TD)
Steps followed for Testing a CAVS RequestorABCS
1. Created a Async 2 way response test definition
2. Updated the route to CAVS=true for the callback service in AIACOnfigurationProperties.xml file in AIA_Home/Metadata/Config location.
3. Ran the UpdatemetadaDP.xml
4. Did cross check with the Setup console of the CAVS and the route to CAVS is updated.
5. When the CAVS test is executed the response from the back end is coming as expected. But as the route to CAVS is enable to true it needs to route
the response to CAVS. Throwing the following.
Error in the RequestorABCS:
++Unable to invoke the end point http://<hostname:port>/AIAValidationSystemServlet/asyncresponserecipient++
But this endpoint is visible from the browser.
Error at the callback after the Requestor ABCS invoked:
FabricInvocationException :oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html; charset=UTF-8
Much appreciate your response in advance
Regards
Raj
Edited by: user10359791 on Aug 3, 2011 10:08 AMYes, This is accessible from SOA Server. The response is as
" This is Composite Application Validation System Http Soap Service."
Other workaround that i have done is :
Modified the url end point of Callback service to "http://xyz" --->Updated in AIAConfigurationproperties.xml file
The error it is giving @ callback is:
javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: xyz
Before this trail the end point url of the callback service is given as :
http://<hostname:port>/AIAValidationSystemServlet/asyncresponserecipient
The error is is giving is:
javax.xml.soap.SOAPException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html; charset=UTF-8
But with both the modifications the visibility of the error in cavs is the same:
Asynchronous Response Timeout - Correlation ID could not be mapped with any of the Delayed instances - (Try increasing the timeout time/check for correlation ID value in the response soap message).
We did increase the timeout and the correct correlation id is also given.
Edited by: user10359791 on Aug 3, 2011 2:18 PM -
Charset=utf-8 not working right?
i'm adding some russian to static html pages and as discussed
previously in these forums, using :
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
but...
in some instances, when i save i get this error message:
the document's current encoding can not correctly save all of
the characters within the document. You may want to change to UTF-8
or an encoding that supports the special characters in this
document.
using this line of code as an example:
<p><a href="barcelona.html"
class="style1">Недвижимость
в
Барселоне</a></p>
if i go ahead and save it stays unchanged but if i close the
page and re-open, the code has changed to
<p><a href="barcelona.html"
class="style1">???????????? ? ?????????</a></p>
i have also tried this charset:
<meta http-equiv="content-type" content="text/html;
charset=windows-1251">
but with the same result.
any thoughts?No. However, it is a good thing to delete the XML declaration
at the top of
the page, so that you have this -
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
With that XML thing there, your page will drop into quirks
mode in IE, I
believe.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"lokikit" <[email protected]> wrote in
message
news:g0h7nv$qcp$[email protected]..
> added.
>
> if i delete these lines of code everything seems ok, but
is this a
> good/safe
> thing to do?
>
> ====
>
> <?xml version="1.0" encoding="iso-8859-1"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
> "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="
http://www.w3.org/1999/xhtml">
> -
Java 1.2 Versus Java 1.4?
This may sound quite strange, but I have a java program which uses Runtime.getRuntime().exec(...) and runs a perl process. The thing is when I run it using java 1.4.1 on a Solaris 9 platform, the perl script fails. However, if I use java 1.2 on Solaris 9 platform, the perl script works fine. However, java 1.2 is much older so I'm hestitant to use it.
What differences are there in java 1.2 versus 1.4 with regards to the Runtime.getRuntime exec???Unfortunately this stupid perl script isn't that
easy. It uses Rational cqperl, then some libraries
and modules I don't understand. I can't even find
the actual code it uses that uses flexlm.
That's why I was asking what is different with java
1.2 and java 1.4. Is there some way that Runtime
acts differently?Not in any fundamental way that I am aware of.
The fact that the script is running at all though tells me that the problem is on the PERL side of things. I suspect that some of those modules and libraries are not being loaded correctly or the same way on both systems.
I fear the answer is that you need to figure out what components the script needs to run and make sure that it has them under all circumstances. This is like a classpath problem except it is with your PERL script so you need to solve it as a PERL problem.
Again if it wasn't running at all that would be one concern but it is running just not finding all it's bits.. a problem of that nature strongly indicates that the issue is happening once the process has already been spawned (correctly) and so is out of the realm of the Java part of your program. -
I had to change from a WRT300N wireless router which died to a new E2500. I noticed that the speed my computers report that they are connected to the wireless network connection is now 144.5 mps, versus 270 mps with the WRT300N. There is no change in location of the devices or computers. The computers use a WUSB300N adapter. Any suggestiosn on why this is happening? Is there a setting or setup that needs to be changed?
Thanks.The chanel width in the router's wireless tab has to be set to auto 20/40. This means that if the interference is low enough, it will utilize the 40mhz mode to give you a maximum rate of 300mbps. If not, then it will stay at 144mbps.
I don't work for Cisco. I'm just here to help. -
Repairing Permissions With DU -Vs- MainMenu
Hello,
I was curios does it matter if I repair permissions with disk Utility versus repairing them with Main Menu Pro version? Also will it hurt doing system maintenance using Main Menu. I know Main Menu is 3rd party, but I think it has been around long enough to be trusted. I've used it on my iMac 2008 without issue, but don't want to take any chances with this new MBP.
JacoAll maintenance applications use the same programs as Disk Utility so it wouldn't make any difference. But you can perform all the needed maintenance that the third-party software does just a few specific utilities.
There isn't that much maintenance required. Disk Utility can repair permissions (something you should rarely if ever need to do) as well as repair the hard drive. For the rest of it you can install the freeware, Applejack - CNet Downloads or MacUpdate.
For the occasional time when a hard drive has a problem DU cannot fix use Disk Warrior. And, to clean caches if needed use Snow Leopard Cache Cleaner.
Also, see:
Kappy's Personal Suggestions for OS X Maintenance
For disk repairs use Disk Utility. For situations DU cannot handle the best third-party utilities are: Disk Warrior; DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.x is now Intel Mac compatible. TechTool Pro provides additional repair options including file repair and recovery, system diagnostics, and disk defragmentation. TechTool Pro 4.5.1 or higher are Intel Mac compatible; Drive Genius is similar to TechTool Pro in terms of the various repair services provided. Versions 1.5.1 or later are Intel Mac compatible.
OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep. Dependence upon third-party utilities to run the periodic maintenance scripts had been significantly reduced in Tiger and Leopard. These utilities have limited or no functionality with Snow Leopard and should not be installed.
OS X automatically defrags files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive. As for virus protection there are few if any such animals affecting OS X. You can protect the computer easily using the freeware Open Source virus protection software ClamXAV. Personally I would avoid most commercial anti-virus software because of their potential for causing problems.
I would also recommend downloading the shareware utility TinkerTool System that you can use for periodic maintenance such as removing old logfiles and archives, clearing caches, etc. Other utilities are also available such as Onyx, Leopard Cache Cleaner, CockTail, and Xupport, for example.
For emergency repairs install the freeware utility Applejack. If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the commandline. Note that AppleJack 1.5 is required for Leopard. AppleJack 1.6 is compatible with Snow Leopard.
When you install any new system software or updates be sure to repair the hard drive and permissions beforehand. I also recommend booting into safe mode before doing system software updates.
Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
Backuplist
Carbon Copy Cloner
Data Backup
Deja Vu
iBackup
JaBack
Silver Keeper
MimMac
Retrospect
Super Flexible File Synchronizer
ynchronizer
SuperDuper!
Synchronize Pro! X
SyncTwoFolders
Synk Pro
Synk Standard
Tri-Backup
Visit The XLab FAQs and read the FAQs on maintenance, optimization, virus protection, and backup and restore.
Additional suggestions will be found in Mac Maintenance Quick Assist.
Referenced software can be found at CNet Downloads or MacUpdate. -
Native HDV versus Cineform editing - noticeable quality losses?
Hi folks.
Is it me or Premiere CS3 feels more happy editing native HDV versus Cineform? With HDV it just renders A LOT faster and the program seems to run better (less stutter). The only downside is that it takes forever to load the project (versus Cineform) and the mastering output choices are smaller.
I really like Cineform, but in my computer it just asks too much patience(Win XP SP3 + P4 775 3.06 + 1024 RAM).
Editing in HDV, the quality is really that sacrified???? My editing routine consists of dissolves, magic bullet looks and classic effects.
What is your opinion? Thank you guys :)Thank you Steven.
Cineform does not render only if you use their effects. But if you need Magic Bullet Looks or GenArts Sapphire the story changes. I did some little test:
HD clip 1920x1080 50i of 4:10 seconds with "Basic White Diffusion" Magic Bullet effect takes to render:
01:30 minutes in CFHD
00:50 seconds in HDV
Can I export my HDV project to Cineform in order to preserve quality? What other options do I have? -
I am not able to fetch size of a Attachment part using Javamail classes
Hi All,
I am using javamail classes to read mails from my email system.
the message i am reading is MIME Multipart and it has got attachments.
One of the attachment is 'application/smil' type.
I am not seeing its size properly but I am able to open the message correctly.
Is this a problem with rendering the message?
Any help would be greatly appreciated.
Thanks,
AmitHi,
Following is the code to render the part. It would be great if you can suggest something to modify and correct the problem.
As you said in your eariler reply, I am determining size by rendering attachment as one of the mime part.
Thanks,
Amit
* Renders the specified part.
* @param part part to be rendered
* @return the modified message part
* @throws MessagingException on JavaMail errors
* @throws IOException on errors getting part contents
* @throws RenderingException on problems rendering part content
private Part renderPart(Part part)
throws MessagingException, IOException, RenderingException {
int partIndex = listSize;
// Part has been displayed on another page and doesn't
// need to be rendered.
if (partIndex < state.getPartIndex()) {
return null;
} else if (partIndex != state.getPartIndex()) {
state = new State(partIndex, "0");
// Part is not renderable so return it.
if (!part.isMimeType(MIME_TEXT) &&
!part.isMimeType(MIME_DISPOSITION_NOTIFICATION)) {
return part;
String charset = null;
try {
part = MailUtils.repairContentTranscoding(part);
ContentType type = getNormalizedContentType(part);
if (logger.isDebugEnabled()) {
logger.debug("Part[" + state.getPartIndex() +
"].ContentType: " + type);
charset = type.getParameter("charset");
if (charset != null && charset.length() > 0) {
charset = MimeUtility.javaCharset(charset.trim());
try {
if (!Charset.isSupported(charset)) {
logger.warn("Unsupported charset: \"" + charset + "\"");
charset = null; // Ignore, use default charset
} catch (IllegalCharsetNameException icne) {
logger.warn("Illegal charset name: \"" + charset + "\"");
charset = null; // Ignore, use default charset
} catch (MessagingException e) {
if (logger.isDebugEnabled()) {
logger.debug(e.getMessage(), e);
charset = null; // Ignore, use default charset
if (charset == null || charset.length() == 0) {
if (state.getPartIndex() == 0) {
// It is *Message body*
// charset is not in Mime Header, so need to detect
// the charset.
charset = (String) setup.get("client.defaultEmailCharset");
} else {
// It is *Attachment*
// charset is not in Mime Header, so need to detect
// attached file charset.
charset = (String) setup.get("client.defaultFileCharset");
Folder folder = null;
Part renderedPart = new MimeBodyPart();
try {
if (MailUtils.isOpenFolderRequired(this.message)) {
folder = this.message.getFolder();
if (! folder.isOpen()) {
folder.open(Folder.READ_ONLY);
BufferedReader buf = new BufferedReader(
(charset != null && charset.length() > 0) ?
new InputStreamReader(part.getInputStream(), charset) :
new InputStreamReader(part.getInputStream()));
StringBuffer stringbuf = new StringBuffer();
String line = null;
* Microsoft Outlook Express 6 sends Byte Order Mark
* at the head of UTF-8 and UTF-7 stream. This BOM is displayed user
* page as ? mark, so skip the BOM.
* Note that charset is normalized by MimeUtility.javaCharset()
* before here.
if (charset != null &&
(charset.equals("UTF8") || charset.equals("utf-7")) &&
buf != null && buf.markSupported()) {
buf.mark(10); // 10 byte is enough for read ahead limit.
int c = buf.read();
if (c != 0xfeff) { // Check BOM or not.
// Rewinding.
try {
buf.reset();
} catch (IOException e) {
// Buffer seems to be empty stream...
logger.debug("Reset exception: " + e.getMessage());
} else {
logger.debug("Skip BOM char: " + c);
if (maxSize > 0) {
// It's hard to know exactly how much text to pass to the
// renderer, since if this is text/html, it may contain HTML
// tags that wouldn't be displayed on a WAP device, so just
// get start position + twice the max size.
int textSize = 2*maxSize;
if (state != null) {
textSize += state.getPosition();
while ((line = buf.readLine()) != null &&
stringbuf.length() < textSize) {
stringbuf.append(line).append("\n");
} else {
while ((line = buf.readLine()) != null) {
stringbuf.append(line).append("\n");
String content = stringbuf.toString();
String contentType = null;
if (part.isMimeType(MIME_DISPOSITION_NOTIFICATION)) {
contentType = MIME_TEXT_PLAIN;
} else {
contentType = getNormalizedContentType(part).toString();
Renderer renderer = null;
if (maxSize != 0) {
renderer = new TextRenderer(content, contentType,
setup, maxSize, state.getState());
} else {
renderer =
new TextRenderer(content, contentType, setup);
if (renderer.hasNext()) {
renderedPart.setText(renderer.next());
renderedPart.setHeader(HEADER_CONTENT_TYPE, contentType);
state = new State(partIndex, renderer.toString());
if (maxSize != 0) {
moreInCurrentPart = renderer.hasNext();
} finally {
if (folder != null && folder.isOpen()) {
MailUtils.closeFolder(folder);
return renderedPart;
} -
I want to encode the US-ASCII data into UTF-8.
For that what is the procedure.
I have to use
1.InputStreamReader and OutPutStreamReader
2.Charset/CharsetEncoder/CharsetDecoder
What is the difference between the two processes?
Process 1:
FileInputStream fis = new FileInputStream(inputFile);
InputStreamReader isr = new InputStreamReader(fis,"UTF-8");
FileOutputStream fos = new FileOutputStream(outputFile);
OutputStreamWriter osw = new OutputStreamWriter(fos, "UTF-8");
Process 2:
Charset charset = Charset.forName(encode);
CharsetDecoder decoder = charset.newDecoder();
CharsetEncoder encoder = charset.newEncoder();InputStreamReader is for converting non unicode
charecter bytes to unicode.
outpuStreamWriter is for converting unicode charecter
to non unicode byte stream.is it correct?Yep, that's correct...Are you sure? Maybe it's just badly worded, but it doesn't sound correct to me. A CharsetDecoder converts a ByteBuffer to a CharBuffer, while an InputStreamReader converts a stream of bytes to a stream of characters. You couldn't replace one with the other--in fact, an InputStreamReader may use a CharsetDecoder under the hood, depending on how you construct it.
I think it's a mistake to talk about converting "to (or from) Unicode", especially in this case. Sure, Java uses one of the Unicode-standard encodings internally, but which one it uses is an implementation detail that you don't need to know. All you need to know is which encoding was used to create the byte stream you're trying to read at the moment.
@ssa_sbobba, if I understand you correctly, you want to read a file that you believe to be in the US-ASCII encoding, and write the text back out using the UTF-8 encoding. That's simple enough: FileInputStream fis = new FileInputStream(inputFile);
InputStreamReader isr = new InputStreamReader(fis,"US-ASCII");
FileOutputStream fos = new FileOutputStream(outputFile);
OutputStreamWriter osw = new OutputStreamWriter(fos, "UTF-8"); If that's all you're doing, though, it's pointless; as Jos pointed out, US-ASCII is a subset of UTF-8, so the new file will be identical to the old one. -
Storing chinese in client odb from java application
Hi all,
first i like to thank Greg Rekounas for his wonderful support and contribution....
This is my server setup.
os-windows 2000 sp4
db-oracle 9ir2 (unicode with AL32UTF8 charset)
lite-oracle10g r2 (with latest patchset)
nls_lang- AMERICAN_AMERICA.AL32UTF8
storing and retriving chinese in oracle 9i database from isql*plus works.
lite configuration.
1. In $OLITE_HOME\mobile_oc4j\j2ee\mobileserver\applications
\mobileserver\setup\common\webtogo\webtogo.ora file edited the JAVA_OPTION
to:
JAVA_OPTION=-Djava.compiler=NONE -Dfile.encoding=UTF8
2. In $OLITE_HOME\mobile_oc4j\j2ee\mobileserver\applications
\mobileserver\setup\dmc\common\win32.inf file, added the following:
a. In the <file> section, added the following:
<item>
<src>/common/win32/olilUTF8.dll</src>
<des>$APP_DIR$\bin\olilUTF8.dll</des>
</item>
b. In the <ini> section, added the following:
<item name='POLITE.INI' section='All Databases'>
<item name="DB_CHAR_ENCODING">UTF8</item>
</item>
<item name='POLITE.INI' section='SYNC'>
<item name="DB_ENCODING">UTF8</item>
</item>
published the application developed in java using packaging wizard.
downloaded the client in the pc with the following config:
windows 2000 (english)
nls - default.
installed chinese language support.
tried to access 9i database from isql*plus and stored & viewed chinese characters sucessfully.
tried to store a chinese character from java application in the client odb -- failed.
values are getting inserted from the application but when i view them back it shows & # 2 6 0 8 5 ; (i have included a space in between all 8 characters.
but when i copy this no and paste in msword it shows 日(chinese character)
i dont know the exact reason for the above scenerio...................
Also please help me on this too.......
why can i store & view chinese characters sucessfully in isql*plus from the client machine while i cannot do the same on client odb from java application even though the lite config are done to support utf8?
is anything i left out?
should i do any codes changes in java?(java application is of verision jdk1.4_13)
Thanks,
Ashok kumar.GSorry for late replay!! in the SharePoint server both the Claim based and Classic mode is enabled in the server, but still I want to get authenticated via Classic mode just like it happens in SharePoint 2007 and 2010, so do i have to use a different
set of classes to do that if yes can you please tell me those ? -
More Guru Winners for February 2015 in the Azure category and many others!
It's been a busy week that also saw the
TECHNET WIKI SUMMIT 2015
Then we had the results for
February's TechNet Guru competition ALSO posted!
http://blogs.technet.com/b/wikininjas/archive/2015/03/19/technet-guru-february-2015.aspx
Below is a summary of the medal winners for December. The last column being a few of the comments from the judges.
Unfortunately, runners up and their judge feedback comments had to be trimmed from THIS post, to fit into the forum's 60,000 character limit, however the full version is available on TechNet Wiki in the link above.
Some articles only just missed out, so we may be returning to discuss those too, in future blogs.
BizTalk Technical Guru - February 2015
Steef-Jan Wiggers
BizTalk Server 2013 R2 Instrumenting a custom pipeline component with ETW
Mandi Ohlinger: "Always a fan of helping our custom pipeline users. Great addition to this group."
Sandro Pereira: "Images, format, descriptions, code and topic are excellent once again good work Steef-Jan."
Vignesh Sukumar
BizTalk BAM (Business Activity Monitoring)
Sandro Pereira: "Great job on this article! Well explained and nice pictures, however the article format need to be improved and some proofreading is need"
Mandi Ohlinger: "Welcome to the 'I heart BAM' fan club. Nice job on this topic. A MUST read for new-to-BAM users. "
Steef-Jan Wiggers
BizTalk Server 2013 R2 Instrumenting BAM Activity Tracking with ETW
Sandro Pereira: "Images, format, descriptions, code and topic are excellent once again good work Steef-Jan."
Mandi Ohlinger: "ETW for BAM Activities - LOVE it. Nice use of the Framework. "
Forefront Identity Manager Technical Guru - February 2015
Wim Beck
FIM2010: Filter objects on export
PG: "Simple, targeted but nice article, nice layout. "
Søren Granfeldt: "Nice. Would be perfect with a complete code sample."
Microsoft Azure Technical Guru - February 2015
saramgsilva
Azure Mobile Services: How to see the log files in server
JH: "Log files are one of the most important things in a production environment. This article shows hows you can do that for the Azure Mobile Services in a nice and easy way."
Alan Carlos: "Great article!"
Ed Price: "Very useful topic! These are a great set of articles!"
saramgsilva
Azure Mobile Services: How to see the WebConfig file published
Ed Price: "Great detail and fantastic use of images! I love all the in-line links!"
JH: "Sometimes it is hard to tell when working in a multi-environment what configuration was published to the Server. The article shows short and easy how to do that for the Azure Mobile Services."
Miscellaneous Technical Guru - February 2015
Arleta Wanat
Retrieve all site mailboxes in your Office 365 tenant
Durval Ramos: "This article has a well content, images and code that help to understand the solution. It has References and was Translated into more two languages. Good job!"
Richard Mueller: "Good links. A great tutorial."
Andy ONeill
Silverlight: No Need to BringIntoView
Durval Ramos: "A well formatted article is easier and more pleasant to read. This script is useful"
Richard Mueller: "Good demonstration of a new feature."
Chen V
PowerShell : Enable Auto Reply for Shared Mail Box
Durval Ramos: " A good solution originated of TechNet Forum. The script and images make it easy to understand and ensure you get the best interest to reader."
Richard Mueller: "Good documentation of this feature."
SharePoint 2010 / 2013 Technical Guru - February 2015
Geetanjali Arora
SharePoint Online : Performing Batch Operations using REST API
KB: "Very well explained article on a new and much awaited feature. Although Andrew Connell already explained this topic in several posts, this article still contains added value."
Ed Price: "I love the History section. The formatting is amazing. And the References and See Also sections at the bottom are great icing on the cake. This is an important topic that's done incredibly well!"
Matthew Yarlett
Using the SpellCheck Webservice with the TinyMCE Richtext Editor and
AngularJS in Office 365
KB: "I read this article with growing interest, it contains a lot of added value. Very well and in-depth explanation. "
Ed Price: "Great scenario! Good use of images, code, detail, and References! Could possibly use a greater breakdown and explanation of the code. This article just gets more and more interesting and valuable as you read it! Great job!"
Arleta Wanat
SharePoint Online: Turn on support for multiple content types
in a list or library using Powershell
KB: "Really nice, interesting and detailed article!"
Ed Price: "The Content Types section helps explain this a lot! I also love the downloads at the end. What a fantastic resource!"
Small Basic Technical Guru - February 2015
Nonki Takahashi
Small Basic: Key Input
Michiel Van Hoorn: "Great improvement."
RZ: "Very nice explanation and examples of key input handling"
Ed Price - MSFT
Small Basic: The History of the Logo Turtle
RZ: "Turtle (Logo) was the first programming language for many, including perhaps some of the Small Basic prorammers. Nice article explaining the history."
Michiel Van Hoorn: "A nice background article and hopefull inspiration for those who want to start in robotics"
Nonki Takahashi
Small Basic: TechNet Wiki Article List
Michiel Van Hoorn: "This is great! Perfect as a local cache of the articles. "
RZ: "A good example"
SQL BI and Power BI Technical Guru - February 2015
Sylvain PONTOREAU
PowerBI API in .Net
RB: "Great walkthrough. Looking forward for the WP8 version of the app ;)"
PT: "Sylvain, very nice job with this. This is a timely topic about an emerging product that has great potential. This is a very good example of a well-written post on an interesting subject with enough information to be valuable to a
solution developer. I will personally take time to explore the Power BI API and use your examples. "
SQL Server General and Database Engine Technical Guru - February 2015
Ronen Ariely
SQL Server Books Online
AM: "Thank you for sharing this with us. It is quite informative and let us get familiar with BOL after the change from previous versins."
Ed Price: "Nice! A very helpful introduction to Books Online! It also tells my technical writer friends that their hard work is appreciated! =^)"
Durval Ramos
How to Collect Events and Errors on SQL Server
Ed Price: "Fantastic solution! A great resource that's amazingly well written with formatting, clear parameters, images, References, and a See Also section! And it even comes in Portuguese! Great article!"
AM: "Thank you for sharing this with us. A good source to learn about our SQL Server instances. "
System Center Technical Guru - February 2015
MarkusEliasson
Troubleshoot ID 32008: DPM cannot
protect this SharePoint farm...
Ed Price: "An important topic that's very clear with great formatting and a good use of an image!"
t.c.rich
Managing Priorities of Client Polices and A/V Policies in SCCM
Ed Price: "I love the descriptions, breakdown of sections, and code formatting! Great article!"
Mr X
How to copy SMSTS.log when a Task Sequence fails in SCCM
Ed Price: "A very helpful table and a good contribution to the community! Mr X again thinks of important content gaps to fill!"
Transact-SQL Technical Guru - February 2015
Saeid Hasani
T-SQL: How the Order of Elements in the ORDER BY Clause Implemented in the Output Result
Durval Ramos: "Very well structured and with examples that clarify how a T-SQL statement can change the data output order."
Richard Mueller: "Good use of Wiki guidelines and great examples."
Ronen Ariely
Free E-Books about SQL and Transact-SQL languages
Richard Mueller: "An excellent collection and a great idea."
Durval Ramos: "A good initiative. Very useful !!!"
Ricardo Lacerda
Declare Cursor (Transact-SQL) versus Window with Over - Running Totals
- Accumulated Earnings
Durval Ramos: "The "Window function" sample was well presented, but it was unclear how the chart was generated."
Richard Mueller: "A new idea that can be very useful. Grammar needs work"
Visual Basic Technical Guru - February 2015
Emiliano Musso
Genetic algorithm to solve 2D Mazes in Visual Basic
MR: "Great article! Love to see an application for AI in a simple game"
Durval Ramos: "This article is well documented with images and your code clarifying important details. It also has References, a very useful video and your project available for download in "MSDN Code" !"
Richard Mueller: "Incredible concept and code. Grammar needs work."
Paul Ishak
MultiHeadedTrackBar Control
Durval Ramos: "Very interesting article, with methods and properties well documented. Your project was available in "MSDN Code" which facilitates the understanding of solution."
Richard Mueller: "Amazing work. Extensive code but with lots of comments. Needs a TOC"
tommytwotrain
Using Trigonometry to draw graphic curves in VB.NET part 2.
MR: "Great continuation. Love the usage of the code for circle text"
Durval Ramos: "The article is interesting, but It's need to work better commenting about assemblies referenced on project and also structure your content into sections."
Richard Mueller: "Good tutorial and example code demonstrating basic concepts. Avoid first person."
Visual C# Technical Guru - February 2015
Magnus (MM8)
C#: Enumerating collections that change
Jaliya Udagedara: "Great article. Has a thorough and to the point explanation of problem and the solution with code samples. Loved it!"
Carmelo La Monica: "Very useful and exhaustive about errors at runtime in these circumstances. Congratulations"
Andy ONeill
c#: Practical Poly
Carmelo La Monica: "Fantastic artcle. Very detailed and exhaustive, congratulations ."
Jaliya Udagedara: "Definitely worth reading this. Explains somewhat advance topic along with a fundamental concept of programming. "
Wiki and Portals Technical Guru - February 2015
Durval Ramos
Wiki: Microsoft Short URLs Personalized by SXP
PG: "Nice idea, lots of potential to grow, really needs some more community attention."
Richard Mueller: "An excellent idea. Good use of Wiki guidelines."
Windows Phone and Windows Store Apps Technical Guru - February 2015
Carmelo La Monica
Windows Phone 8: control Nokia Maps (Part 3)
JH: "Part 3 of the series how to work with the Nokia maps control. As the previous articles this one contains a lot of code snippets and some pictures. Good work!"
Ed Price: "A great topic, a fantastic breakdown of sections with clear descriptions, and a nice mix of code formatting and helpful images! Another stellar article from Carmelo! Great job including the link back at the end to the portal
article!"
Windows PowerShell Technical Guru - February 2015
Richard Mueller
Document Your Active Directory Organization
Alan Carlos: "Wow! Great article, congratulations!!! Very detailed!"
Chen V: "Excellent Article - I liked return to top as well."
Ed Price: "Wow! It's like a professional whitepaper! It's a valuable topic that's done with intricate detail! I love the images, diagrams, code blocks, and it ends very well with more resources and Wiki articles! The article just keeps
digging deeper and deeper! Awesome job on this!"
DexterPOSH
PowerShell + REST API : Invoke-RestMethod Gotcha
Chen V: "Good Article. TOC might have made this more rich! "
Ed Price: "This is a good topic with some great content. It could benefit from sections and a TOC, as well as a References and See Also sections at the end. The inline links are helpful. Could "
DexterPOSH
PowerShell Trick : Search & highlight text in MS Word
Ed Price: "This is a great solution, with some helpful Q&A in the comments!"
Windows Presentation Foundation (WPF) Technical Guru - February 2015
Andy ONeill
Lookless Controls
KJ: "WPF can definitely be confusing when devs first encounter it. Like the way you break it down."
Ed Price: "Wow! Fantastic explanations that are very clear and deep! The images and code bring it to life!"
Andy ONeill
Only One Parent
KJ: "Same iwith this one, good 101 intro"
Ed Price: "Another great tip! I love the detail here as well! Those snippets help a lot!"
Andy ONeill
Bind to Current Item of Collection
KJ: "Feel like this topic has a lot of coverage out there, but it can't hurt to hammer on databinding yet one more time :) "
Ed Price: "Fantastic topic with great execution! Although these could benefit from References and See Also wiki sections at the end, the Inline links help a lot!"
Windows Server Technical Guru - February 2015
Mr X
Ping for Beginners
Mark Parris: "A good introduction with additional content."
JM: "Great article idea and an excellent article that will be useful to many, thanks for your contribution."
Philippe Levesque: "Good article that show a usefull utility for basic troubleshooting"
Richard Mueller
Active Directory: Get-ADFineGrainedPasswordPolicy Default and Extended Properties
Mark Parris: "An Interesting insight on FGPP and their extended properties."
JM: "This is a good piece of detailed information about this PowerShell cmdlet, thanks for sharing."
Philippe Levesque: "Great article ! Illustrating some cmdlet's output when a user got assigned policy versus a user with the default domain policy could be a good idea."
Richard Mueller
Active Directory: Get-ADServiceAccount Default and Extended Properties
Mark Parris: "A useful nugget of information."
JM: "More very useful information about an AD cmdlet, thanks!"
Philippe Levesque: "Good article !"
As mentioned above, runners up and comments were removed from this post, to fit into the forum's 60,000 character limit.
You will find the complete post, comments and feedback on the
main announcement post.
Please join the discussion, add a comment, or suggest future categories.
If you have not yet contributed an article for this month, and you think you can write a more useful, clever, or better produced wiki article than the winners above,
THERE'S STILL TIME! :D
Best regards,
Pete Laker
More about the TechNet Guru Awards:
TechNet Guru Competitions
#PEJL
Got any nice code? If you invest time in coding an elegant, novel or impressive answer on MSDN forums, why not copy it over to
TechNet Wiki, for future generations to benefit from! You'll never get archived again, and
you could win weekly awards!
Have you got what it takes o become this month's
TechNet Technical Guru? Join a long list of well known community big hitters, show your knowledge and prowess in your favoured technologies!Congrats to Sara!
Microsoft Azure Technical Guru - February 2015
saramgsilva
Azure Mobile Services: How to see the log files in server
JH: "Log files are one of the most important things in a production environment. This article shows hows you can do that for the Azure Mobile Services in a nice and easy way."
Alan Carlos: "Great article!"
Ed Price: "Very useful topic! These are a great set of articles!"
saramgsilva
Azure Mobile Services: How to see the WebConfig file published
Ed Price: "Great detail and fantastic use of images! I love all the in-line links!"
JH: "Sometimes it is hard to tell when working in a multi-environment what configuration was published to the Server. The article shows short and easy how to do that for the Azure Mobile Services."
Ed Price, Azure & Power BI Customer Program Manager (Blog,
Small Basic,
Wiki Ninjas,
Wiki)
Answer an interesting question?
Create a wiki article about it!
Maybe you are looking for
-
My wifi button is not working to turn it on my 4s
My wifi button will not turn on, on my 4s it doesn't even give me the option to turn it on or off. What can I do to fix this problem?
-
summary: I must run a firefox-3.x to telework, and I run debian at home. I previously had firefox-3.6.28 installed and running on an up-to-date debian, but mistakenly destroyed that install. I have reinstalled the OS, and reinstalled firefox-3.6.28,
-
"LEAVE TO TRANSACTION" is not allowed in batch input
Hi, We are creating sale order through Inbound IDocs.If IDoc contains any error,The processing will terminated in the middle and the user will manually process it using BD87 transaction. Our requirement is While processing in BD87,if there are 3 li
-
my phone is stuck on the connect to itunes screen after trying to recover it to a backup.what should i do??? PLEASE HELP!!!
-
''locking this thread as duplicate, please continue at [https://support.mozilla.org/en-US/questions/1047350 /questions/1047350]'' Like the title says. I close a tab I'm done with, and I get a tabless white screen instead of it switching to a tab that