In need of a Code Point sound byte
I am going through volume one of Core Java after studying Java using Absolute Java (Savitch) and I am sorely in need of a sound byte explaining code points. I know they are used to store Unicode values and should be used rather than char when traversing a string. More info would be helpful.
Sound bite: "Don't worry about it".
Longer version: when Java and Unicode were first designed, Unicode fit into a space where 16-bit characters were plenty. Then at some point it turned out that 16 bits wasn't plenty after all, given all of the new scripts which Unicode was bringing into the tent. So the 16-bit characters were dubbed the "Basic Multilingual Plane" (BMP for short) and the Unicode consortium created a lot more "planes" for all of those obscure scripts were dubbed "astral characters". Basically you need a 32-bit representation for those characters.
Start here: Plane (Unicode) to learn more about that.
Similar Messages
-
Need of Process code in ALE Inbound Processing?
Hi All,
What is the need of process code in ALE Inbound Processing? Why do we need to reach the function module through process code? we can as well directly point to function module.Hi Ravi,
Please chcek this link perhaps it may help.
http://help.sap.com/saphelp_erp2005/helpdata/en/dc/6b804043d711d1893e0000e8323c4f/frameset.htm
Regards,
Ferry Lianto -
How we represent largest code point in UTF-8 and UTF-16 whats the differenc
how we represent largest code point in UTF-8 and UTF-16 whats the differenc
points will be awardedThere are standards from for CHARACTER encoding.
See below for a brief description:
UTF-16 (16-bit Unicode Transformation Format) is a variable-length character encoding for Unicode, capable of encoding the entire Unicode repertoire. The encoding form maps code points (characters) into a sequence of 16-bit words, called code units. For characters in the Basic Multilingual Plane (BMP) the resulting encoding is a single 16-bit word. For characters in the other planes, the encoding will result in a pair of 16-bit words, together called a surrogate pair. All possible code points from U0000 through U10FFFF, except for the surrogate code points UD800UDFFF, are uniquely mapped by UTF-16 regardless of the code point's current or future character assignment or use.
UTF-8 (8-bit UCS/Unicode Transformation Format) is a variable-length character encoding for Unicode. It is able to represent any universal character in the Unicode standard, yet the initial encoding of byte codes and character assignments for UTF-8 is consistent with ASCII (requiring little or no change for software that handles ASCII but preserves other values). For these reasons, it is steadily becoming the preferred encoding for e-mail, web pages, and other places where characters are stored or streamed.
Check this site for details.
http://unicode.org/. -
I need a request code for offline activation. Because i cannot connect with adobe server for online activation. But I receive "The request code is invalid." by generate answer code.
Dear Anubha,
I hope these windows illustrate what I am facing.
The above window shows the prompt that the software requires activation.
The version is 8.1.0.
This next window is the point where I select activation by phone.
This final window shows that the "response code" is not returned. I get an
"Activation Number" instead.
Steven
On Tue, Jan 27, 2015 at 10:50 PM, Anubha Goel <[email protected]> -
I need a Sample Code about flash++.h and swc.
hi,help me !
i need a Sample Code about flash++.h and swc.
my Sample Code bitmapdata.cpp:
#include <AS3/AS3.h>
#include <Flash++.h>
using namespace AS3::ui;
void gettpoint() __attribute__((used,
annotate(“as3sig:public function gettpoint(x:Number,y:Number):uint”),
annotate(“as3package:MyLibrary”)));
void gettpoint()
double xx;
double yy;
inline_as3( “%0 = x;%1 = y\n” : “=r”(xx) : “r”(yy) );
flash::geom::Point p=flash::geom::Point::_new();
AS3_Return(xx);
int main()
AS3_GoAsync();
return 0;
the compile command is “$(FLASCC)/usr/bin/g++” $(BASE_CFLAGS) -O4 bitmapdata.cpp -emit-swc=MyLibrary -o bitmapdata.swc -lFlash++ -lAS3++
It took me ten minutes to compile,but it can’t work.why?Compiling a SWC using Flash++ will result in poor compiler performance if you are using the Flex SDK to compile that SWC into a SWF.
To get better performance try using the new version of mxmlc that is shipped in the Adobe Gaming SDK. (Note that this new version of mxmlc doesn't support Flex)
You will need to install the Gaming SDK and then extract the archive in the "AIR SDK" folder. Once that archive is extracted you'll notice the new mxmlc compiler in the bin folder.
Unfortunately compiling a SWF seems to be a little tricky. You'll notice in the sample Makefile below project that it changes directory into the bin folder before calling ./mxmlc. Ideally you wouldn't need to do this (like how it worked with the Flex mxmlc). I'll investigate why that is the case.
Makefile:
# Path to your FlasCC SDK folder
$?FLASCC=/Users/stshongr/builds/alchemy/1.0.0/sdk
$?GAMINGSDK="/Applications/Adobe Gaming SDK 1.0/AIR SDK/air3-5_p4_sdk_asc2_mac_112112/bin"
# The folder the source files are in
$?SRC_FOLDER=$(PWD)
all:
"$(FLASCC)/usr/bin/g++" MyLibrary.c -emit-swc=MyLibrary -o MyLibrary.swc -lFlash++ -lAS3++
cd $(GAMINGSDK) && ./mxmlc -library-path=$(SRC_FOLDER)/MyLibrary.swc $(SRC_FOLDER)/demo.as -o $(SRC_FOLDER)/demo.swf
clean:
rm -f *.swf *.swc *.bc *.exe
MyLibrary.c:
#include <AS3/AS3.h>
#include <Flash++.h>
using namespace AS3::ui;
void gettpoint() __attribute__((used,
annotate("as3sig:public function gettpoint(x:Number,y:Number):uint"),
annotate("as3package:MyLibrary")));
void gettpoint()
double xx;
double yy;
inline_as3( "%0 = x;%1 = y\n" : "=r"(xx) : "r"(yy) );
flash::geom::Point p=flash::geom::Point::_new();
AS3_Return(xx);
int main()
AS3_GoAsync();
return 0;
demo.as:
package {
import flash.display.Sprite;
import flash.text.TextField;
import flash.events.Event;
import MyLibrary.CModule;
public class demo extends Sprite {
private var tf:TextField;
public function demo() {
addEventListener(Event.ADDED_TO_STAGE, initCode);
private function initCode(e:Event):void {
tf = new TextField();
addChild(tf);
// start the FlasCC library
MyLibrary.CModule.startAsync(this);
// call the function
tf.appendText("OUTPUT:" + MyLibrary.gettpoint(2,2)); -
Hi,
iam working in SAP .
I need sample java code on how to convert Decimal to number
For Ex: I/p-----123.11
O/p----------------12311 ( with out decimal) want to remove the dicimal point what ever the input value and deliver it to the output
Please give me code
Regards
Sumani don't know what do you want to do really. If you are doing it simply then you can take the input in a String and then remove the decimal.
String str = "123.11";
str = str.substring(0, str.indexOf("."));
System.out.println(str); -
Hi everyone,
We have an Orchestra client who wants to have sound bytes of
their music on their website. I have all the music files as MP3.
The site is HTML. I was wondering if there is an easy way to create
Flash files to use for sound bytes. A good example of what I am
looking for is on
Sound
Ranger's Website (mouse over arrows on the demo column).
I tried a workaround by creating sound bytes using the Flash
Video Encoder and then putting each FLV sound byte on a pop-up
window that auto-plays the music. However, all the pop-up windows
are kind of cheesy and annoying. I was hoping there would be
something better...
Any help would be greatly appriciated!
Regards,
Jose> For example, If I were to build a music maker in flash,
one that lets me
> put
> sound bytes along a timeline to create a song, then
later save the song
> and
> ultimately export the file out as an MP3 file.
>
> Is this possible to do?
> Has anyone done it?
> Is there a solution out there?
> Can anyone point me in the right direction?
Sounds like you are trying to use a hammer to screw in a
screw.
You want a sound/music editing program for this. Garageband
would probably
fit the bill for you.
-Darrel -
DSCP (Differentiated Services Code Point)
value always set to ‘0’ for outgoing packet on win 7
I have setup – Controller (Win 7) and Responder (Win XP)
In controller I setup DSCP value to something – ‘50’ (in hex 0x32) and perform RTP call
Then I sniff packets using ‘Wireshark’ where I found DSCP value from Controller to Responder not able to set but which is able to set in packet from Responder to Controller.
Controller to Responder
Responder to Controller
When I run same application under same network, where Controller and Responder are having Win XP, then DSCP value appear in layer 3 protocol.
When I googled then learned I need to do some registry changes mentioned in below links -
http://technet.microsoft.com/en-us/library/cc758910(WS.10).aspx
http://support.microsoft.com/kb/2733528/en-us
But this solution did not help to resolve my problem.
Later I did followed changed in Local Group Policy Editor but which was also fruitless.
I do not want to set some fix DSCP value for all outgoing traffic, as my application has provision to take an input for DSCP value from user.
http://technet.microsoft.com/en-us/library/cc771283.aspxHi,
I'll involved another engineer who had more knowledge with your problem. Thanks for your understanding.
Roger Lu
TechNet Community Support -
having sound issue with call of duty:world at war game here is the hist.
1. Call of Duty 4:modern war works ok
2. Cod:waw sound worked ok untill update to 1.2 ver
3. looked at other tech sites for game and says to install sound updates for reltech audio but I am runing the latest update
4. unknown whats happening but maby you can help?
p200 satellite runing vista with all updates, video card is fac installed game video card.
sound works on all programs exept cod:wawFound with google...
"Vista users need to lower the sound quality to 16bit 44,100mhz. You can find this setting in the properties of your sound device found in the control panel."
This signature left intentionally blank. -
Need all transaction codes for idocs
need all transaction codes for idocs
Hi,
ALE IDOC
Sending System(Outbound ALE Process)
Tcode SALE ? for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ? Create Model View
Tcode BD82 ? Generate partner Profiles & Create Ports
Tcode BD64 ? Distribute the Model view
Message Type MATMAS
Tcode BD10 ? Send Material Data
Tcode WE05 ? Idoc List for watching any Errors
Receiving System(Inbound ALE )
Tcode SALE ? for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ? Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 ? Idoc List for inbound status codes
ALE IDOC Steps
Sending System(Outbound ALE Process)
Tcode SALE ?3 for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 !V Create Model View
Tcode BD82 !V Generate partner Profiles & Create Ports
Tcode BD64 !V Distribute the Model view
This is Receiving system Settings
Receiving System(Inbound ALE )
Tcode SALE ?3 for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 !V Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 !V Idoc List for inbound status codes
Message Type MATMAS
Tcode BD10 !V Send Material Data
Tcode WE05 !V Idoc List for watching any Errors
1)a Goto Tcode SALE
Click on Sending & Receiving Systems-->Select Logical Systems
Here Define Logical Systems---> Click on Execute Button
go for new entries
1) System Name : ERP000
Description : Sending System
2) System Name : ERP800
Description : Receiving System
press Enter & Save
it will ask Request
if you want new request create new Request orpress continue for transfering the objects
B) goto Tcode SALE
Select Assign Client to Logical Systems-->Execute
000--> Double click on this
Give the following Information
Client : ERP 000
City :
Logical System
Currency
Client role
Save this Data
Step 2) For RFC Creation
Goto Tcode SM59-->Select R/3 Connects
Click on Create Button
RFC Destination Name should be same as partner's logical system name and case sensitive to create the ports automatically while generating the partner profiles
give the information for required fields
RFC Destination : ERP800
Connection type: 3
Description
Target Host : ERP000
System No:000
lan : EN
Client : 800
User : Login User Name
Password:
save this & Test it & RemortLogin
3)
Goto Tcode BD64 -- click on Change mode button
click on create moduleview
short text : xxxxxxxxxxxxxx
Technical Neme : MODEL_ALV
save this & Press ok
select your just created modelview Name :'MODEL_ALV'.
goto add message type
Model Name : MODEL_ALV
sender : ERP000
Receiver : ERP800
Message type :MATMAS
save & Press Enter
4) Goto Tcode BD82
Give Model View : MODEL_ALV
Partner system : ERP800
execute this by press F8 Button
it will gives you sending system port No :A000000015(Like)
5) Goto Tcode BD64
seelct the modelview
goto >edit>modelview-->distribute
press ok & Press enter
6)goto Tcode : BD10 for Material sending
Material : mat_001
Message Type : MATMAS
Logical System : ERP800
and Execute
7)goto Tcode : BD11 for Material Receiving
Material : mat_001
Message Type : MATMAS
and Execute --> 1 request idoc created for message type Matmas
press enter
Here Master Idoc set for Messge type MATMAS-->press Enter
1 Communication Idoc generated for Message Type
this is your IDOC
Change Pointers
I know how to change the description of a material using ALE Change Pointers.
I will give the following few steps
1) Tcode BD61---> check the change pointers activated check box
save and goback.
2) Tcode BD50---> check the MATMAS check box save and comeback.
3) Tcode BD51---> goto IDOC_INPUT_MATMAS01 select the checkbox save and comeback.
4) Tcode BD52---> give message type : matmas press ok button.
select all what ever you want and delete remaining fields.
save & come back.
5) 5) go to Tcode MM02 select one material and try to change the description and save it
it will effects the target systems material desciption will also changes
6) goto Tcode SE38 give program Name is : RBDMIDOC and Execute
give Message type : MATMAS and Executte
ALE/IDOC Status Codes/Messages
01 Error --> Idoc Added
30 Error --> Idoc ready for dispatch(ALE Service)
then goto SE38 --> Execute the Program RBDMIDOC
29 Error --> ALE Service Layer
then goto SE38 --> Execute the Program RSEOUT00
03 Error --> Data Passed to Port ok
then goto SE38 --> Execute the Program RBDMOIND
12 Error --> Dispatch ok
Inbound Status Codes
50 Error --> It will go for ALE Service Layer
56 Error --> Idoc with Errors added
51 Error --> Application Document not posted
65 Error --> Error in ALE Service Layer
for 51 or 56 Errors do the following steps
goto WE19 > give the IDOC Number and Execute>
Press on Inbound function Module
for 65 Error --> goto SE38 --> Execute the Program RBDAPP01 then your getting 51 Error
BAPI tcode --- BAPI.
Also:
IDOC:
IDOC ADMINISTRATION
WE09 / WE02 IDoc lists according to content. View IDocs via specific IDoc number or business application detail contained within the contents of a segment.
WE05 View IDocs
WE60 IDoc type documentation tool
WE20 Partner profile configuration. Add partner detail together with inbound and outbound relationships. We also incorporate message control on the outbound IDocs. Utilize the organizational units to trap functional errors for further processing.
BD87 Reprocess IDocs in error or waiting for action. (Both inbound and outbound in 4.6. Use BD88 in prior versions)
1.4 IDOC DEVELOPMENT
BD55 Conversion rule user exit. Link conversion rule user exit to the different system \ partner combinations.
WE19 EDI test tool. Use to test inbound Function module changes.
WE31 Segment create
WE30 Create IDoc extension type
WE82 Link Release detail to Extension IDoc Type
WE57 Assign function module to logical message and IDoc type
BAPI: BAPI, SWO1.
Transaction codes Related for IDOC Configurations
WEDI: Area Menu for IDOCs
WE02: Display IDoc
WE19: ALE Test tool
WE30: Development of IDOC Type
WE31: Development of IDOC Segment
WE41: Process Codes, Outbound
WE42: Process Codes, Inbound
WE47: Status Maintenance
WE81: Logical Message Types
WE57: Assignment Messages for Appl. Objs
SM59: RFC Destinations (Display/Maintain)
SALE: Display ALE Customizing
BD54: Maintaining Logical Systems
BD67: Maintain methods (inbound)
BD64: Maintenance of Distribution Model
BD87: Status Monitor for ALE Messages
Reward points if found helpful...
Cheers,
Chandra Sekhar. -
what cables do I need to connect my 2013 macbook pro to my HD tv? I know I need mini display to HDMI, but male? female HDMI??? and also, do I need a separate cable for sound?
Actually you need a Thunderbolt to HDMI adapter. It will carry both audio and video.
This one will work: Mini DisplayPort | Thunderbolt® to HDMI® Adapter w/ Audio Support -
I have had a web site on Tripod since 1997. The opening page has Madeline Kahn doing the Lilly von Schtupp welcome from "Blazing Saddles", which plays on IE, Chrome, and other browsers, but NOT on Firefox. It's very annoying, when I keep getting updates from QuickTime on my desktop, to keep getting the "QuickTime has crashed" message, I keep REPEATEDLY sending crash reports, I've done all you tell me to do to get it to quit doing that, yet the problem continues.
How about either giving REAL solutions to the problem or fix whatever bug Firefox has up it's chimney so that people using Firefox to visit my web site can hear the music and sound bytes I programmed in to make my pages fun?Please make sure that they are up to date [[Troubleshoot issues with plugins like Flash or Java to fix common Firefox problems]]
Has the website been updated since it was created? It would be interesting to see if the way to implement background music has changed.
Do you also have any ad blocking software?[http://mzl.la/LL9mLw] -
I have just purchased a new iMac and have uninstalled cs6 from my old iMac. Do I just install CS6 as normal or do I need a new code. My licence is for one user
Yes, just install as you normally would using the serial number you originally used.
You did not have to uninstall on the old machine - with your single user license you are allowed to have two activated installations. So feel free to reinstall it if those are the only two machine you plan to have it on and you'd like to have a backup installation. -
In bdc if date format of records is different do we need to hard code
in bdc if date format of records is different do we need to hard code or bdc will support automatically,please provide the answer.
Make sure to format the date before passing to BDC.
data: datum(10) type c.
call function 'CONVERT_DATE_TO_EXTERNAL'
EXPORTING
DATE_INTERNAL = SY-DATUM
IMPORTING
DATE_EXTERNAL = datum.
Regards,
Rich Heilman -
How to generate localized chars using code point in Solaris 10?
Hi All,
Do enybody know how to generate localized chars (for example Japanese) using code points in Solaris 10?
Like in the following web page:
http://www.isthisthingon.org/unicode/index.phtml
Unicode, shift-jis
U+4e2f 87a3 �N
U+4e3b 8ee5 ��
U+4e3c 98a5 �S
U+4f5c 8dec ��
Thanks,
DanielI have found a "Code Point Input Method" tool in the following page:
http://java.sun.com/products/jfc/tsc/articles/InputMethod/inputmethod.html
Using this tool user can enter hexadecimal code point and the output is some char.
But this tool doesn't work. I run this in the follwoing way:
# java -jar CodePointIM.jar
After this error message appers:
Failed to load Main-Class manifest attribute from
codepointim.jar
If anybody could help I will be appreciate.
Regards,
Daniel
Maybe you are looking for
-
Kindly help
-
How to hide addnl data tab from CVO1N Transction
Dear Friend's While creation of Document through CVO1N Transction first we fill up the data in "Document Data" tab then system gives"Addnl Data" tab. Here i don't need this "Addnl Data" tab. Pls guide me how i can hide the same tab.Give me the steps
-
Can't sync, keep getting different error messages
Had to restore my iPod Classic and now iTunes won't sync. It syncs for a while but then I get an error message. I stop it, start over again and get a different error message. First it says it can't read the folder, then it can't read the file, then i
-
Problem using the IMAQ Extract function.Not getting two different image out
Hi, I am trying to use the multiple IMAQ extract functions to get certain parts of the webcam image and then using the color extract function to get the average RGB values. The problem is that both the IMAQ extract functions give the same image on it
-
Vision Builder AI won't start!!!
Which kind of problem is this? How to solve it?