Shure thing:)
Here is the code I am running in java. (File name Test2.java)
import javax.swing.*;
public class Test2 {
public static void main(String[]args) { JOptionPane.showMessageDialog(null, "æøåasdfg"); } }
The message I get is the one in the image in attachement 1
Same problem if I use æøå in methodnames like this. I added some code to Test2.
import javax.swing.*;
public class Test2 {
public static void main(String[]args) { String tekst = æøå("Type some:"); JOptionPane.showMessageDialog(null, tekst);
}
private static String æøå(String h) { String t = JOptionPane.showInputDialog(null, h); return t; } }
Then I get the errors in attachment 2.
So, I cant use "æøå", and I live in Norway, so it is a problem for me:) It appears to work in HTML coding.
Best regards Andreas
On 15.11.10 21.27, "Allan Odgaard" mailinglist@textmate.org wrote:
On 15 Nov 2010, at 13:46, AB wrote:
I tried re-open it with encoding. I coding direct in textmate, I am now using any extra programs. All I know it worked with the same file yesterday, and not today. Exactly the same file, and program, only different is the update that happened today.
Can you be more specific about how you are running this thing?
I.e. provide a step-by-step way for us to try and recreate your problem.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 17 Nov 2010, at 10:30, AB wrote:
Here is the code I am running in java. (File name Test2.java) […]
Ok, I see the problem and pushed a fix: https://github.com/textmate/java.tmbundle/commit/3b748a611ce4787cec9eef58c68...
If you want to retrieve the fix for your current version run this in Terminal:
cd /Applications/TextMate.app/Contents/SharedSupport/Bundles mv Java.tmbundle ~/.Trash svn export http://svn.github.com/textmate/java.tmbundle
You only need the updated java_compile_and_run.sh but unfortunately GitHub’s svn bridge does not seem to support checking out repository subsets.
Ahh, lifesaver:)
Thanks alot.
Best regards Andreas
On 17.11.10 11.30, "Allan Odgaard" mailinglist@textmate.org wrote:
On 17 Nov 2010, at 10:30, AB wrote:
Here is the code I am running in java. (File name Test2.java) []
Ok, I see the problem and pushed a fix: https://github.com/textmate/java.tmbundle/commit/3b748a611ce4787cec9eef58c68... d116bd00aeb
If you want to retrieve the fix for your current version run this in Terminal:
cd /Applications/TextMate.app/Contents/SharedSupport/Bundles mv Java.tmbundle ~/.Trash svn export http://svn.github.com/textmate/java.tmbundle
You only need the updated java_compile_and_run.sh but unfortunately GitHub¹s svn bridge does not seem to support checking out repository subsets.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate